If a test sent anything to stdout, it would not get logged, and would
mess up the listing of test status.
Signed-off-by: Gilles Espinasse <g.esp@free.fr>
Signed-off-by: NeilBrown <neilb@suse.de>
# source script in a subshell, so it has access to our
# namespace, but cannot change it.
echo -ne "$_script... "
- if ( set -ex ; . $_script ) 2> $targetdir/log
+ if ( set -ex ; . $_script ) &> $targetdir/log
then
echo "succeeded"
_fail=0