From 855a353904e22568ee13cae0635b03198afa8bfe Mon Sep 17 00:00:00 2001 From: NeilBrown Date: Tue, 2 Jul 2013 13:12:07 +1000 Subject: [PATCH] test: include any 'stderr' output in the log file. Errors from mdadm go to 'stderr', so if there is an array, copy those to the log file. Signed-off-by: NeilBrown --- test | 1 + 1 file changed, 1 insertion(+) diff --git a/test b/test index 76d410f..d9ba25c 100755 --- a/test +++ b/test @@ -240,6 +240,7 @@ do_test() { _fail=0 else log=log + cat $targetdir/stderr >> $targetdir/log if [ $exitonerror == 0 ]; then log=log-`basename $_script` mv $targetdir/log $targetdir/$log