diff options
author | NeilBrown <neilb@suse.de> | 2015-07-06 13:59:33 +1000 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2015-07-06 15:32:46 +1000 |
commit | bc6ccf969ec5f0d5399412ebda49335e5752f850 (patch) | |
tree | 7927c2ddd443dc985ad0b24c373dd7f7a4df1f4d /test | |
parent | a76b3a345b23193007b0e5ffd9881281d041d094 (diff) | |
download | mdadm-bc6ccf969ec5f0d5399412ebda49335e5752f850.tar.gz |
test: add dmesg output to logs on error.
This can help isolate the problem.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'test')
-rwxr-xr-x | test | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -304,6 +304,8 @@ do_test() { else log=log cat $targetdir/stderr >> $targetdir/log + echo "=======================dmesg=================" >> $targetdir/log + dmesg | tail -n 200 >> $targetdir/log if [ $exitonerror == 0 ]; then log=log-`basename $_script` mv $targetdir/log $targetdir/$log |