summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2013-07-02 13:12:07 +1000
committerNeilBrown <neilb@suse.de>2013-07-02 13:12:07 +1000
commit855a353904e22568ee13cae0635b03198afa8bfe (patch)
tree4d1a2d531abb5671e55abc156a9f9172d70ca98a /test
parentbe7c26b48cccfa9897fcbfc127d8bb2313ccb9c4 (diff)
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 <neilb@suse.de>
Diffstat (limited to 'test')
-rwxr-xr-xtest1
1 files changed, 1 insertions, 0 deletions
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