diff options
author | Gilles Espinasse <g.esp@free.fr> | 2012-10-23 00:12:15 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2012-10-23 00:12:15 +0200 |
commit | 45e34015b6f3c9deb4f489095eeedc9343a34b5e (patch) | |
tree | 622f28f4ac8532d368c8d13cb9c31657ff5d3a46 /test | |
parent | super0: allow creation of array on 2TB+ devices. (diff) | |
download | mdadm-45e34015b6f3c9deb4f489095eeedc9343a34b5e.tar.xz mdadm-45e34015b6f3c9deb4f489095eeedc9343a34b5e.zip |
test: redirect all output to log file to keep output clean
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>
Diffstat (limited to 'test')
-rwxr-xr-x | test | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -227,7 +227,7 @@ do_test() { # 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 |