From: NeilBrown Date: Tue, 2 Jul 2013 03:12:07 +0000 (+1000) Subject: test: include any 'stderr' output in the log file. X-Git-Tag: mdadm-3.3-rc2~78 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=855a353904e22568ee13cae0635b03198afa8bfe;p=thirdparty%2Fmdadm.git 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 --- diff --git a/test b/test index 76d410f6..d9ba25cc 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