Whamcloud - gitweb
file export-do_kern_mount.patch was initially added on branch b1_5.
[fs/lustre-release.git] / lustre / tests / tbox.sh
index 6e1b211..337e1b8 100644 (file)
@@ -74,8 +74,13 @@ tbox_exit() {
 
 # Run a subprogram, but stop it from sending its own tinderbox
 # messages.
-tbox_dont_start_log() {
-  eval 'TBOX_LOG= '"$@"
+tbox_absorb_log() {
+  # This probably doesn't do what you think it does... it only prepends
+  # TBOX_LOG= to our arguments.
+  set TBOX_LOG= "$@"
+
+  # Now evaluate the command.
+  eval "$@"
 }
 
 # Start the log for a given tree.