X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Ftests%2Ftbox.sh;h=337e1b8b9c89ae669353e36659b72a07af99a2ca;hb=e52a140eb7f65a63f07dbb7e2aaff7f9e22974f2;hp=6e1b2110c858756b25c8e5f2d649197343958674;hpb=95351000f1fa443e8b17f87da984880304ae9766;p=fs%2Flustre-release.git diff --git a/lustre/tests/tbox.sh b/lustre/tests/tbox.sh index 6e1b211..337e1b8 100644 --- a/lustre/tests/tbox.sh +++ b/lustre/tests/tbox.sh @@ -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.