mirror of
https://github.com/checkpoint-restore/criu
synced 2025-09-03 15:55:53 +00:00
zdtm: show errors if a test failed
Signed-off-by: Andrey Vagin <avagin@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
committed by
Pavel Emelyanov
parent
292d0adfdd
commit
234b5883b9
@@ -282,10 +282,14 @@ case_error()
|
|||||||
echo "====================== ERROR ======================"
|
echo "====================== ERROR ======================"
|
||||||
|
|
||||||
if [ -n "$DUMP_PATH" ]; then
|
if [ -n "$DUMP_PATH" ]; then
|
||||||
[ -e "$DUMP_PATH/dump.log" ] &&
|
[ -e "$DUMP_PATH/dump.log" ] && {
|
||||||
echo "Dump log : $DUMP_PATH/dump.log"
|
echo "Dump log : $DUMP_PATH/dump.log"
|
||||||
[ -e "$DUMP_PATH/restore.log" ] &&
|
cat $DUMP_PATH/dump.log* | grep Error
|
||||||
|
}
|
||||||
|
[ -e "$DUMP_PATH/restore.log" ] && {
|
||||||
echo "Restore log: $DUMP_PATH/restore.log"
|
echo "Restore log: $DUMP_PATH/restore.log"
|
||||||
|
cat $DUMP_PATH/restore.log* | grep Error
|
||||||
|
}
|
||||||
fi
|
fi
|
||||||
[ -e "$test_log" ] &&
|
[ -e "$test_log" ] &&
|
||||||
echo "Output file: $test_log"
|
echo "Output file: $test_log"
|
||||||
|
Reference in New Issue
Block a user