Commit ef1c6035 authored by Andrey Vagin's avatar Andrey Vagin Committed by Pavel Emelyanov

zdtm: don't show a wrong path to log files

It showed old pathes.

Dump log   : /root/crtools/test/dump/inotify00/15673/dump.log
Restore log: /root/crtools/test/dump/inotify00/15673/restore.log
Output file: /root/crtools/test/zdtm/live/static/utsname.out
make: *** [test] Error 1
Signed-off-by: 's avatarAndrey Vagin <avagin@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 0196d30a
......@@ -83,6 +83,7 @@ run_test()
local args=$*
local tname=`basename $test`
local tdir=`dirname $test`
DUMP_PATH=""
echo "Execute $test"
......@@ -138,10 +139,12 @@ case_error()
echo "Test: $test"
echo "====================== ERROR ======================"
if [ -n "$DUMP_PATH" ]; then
[ -e "$DUMP_PATH/dump.log" ] &&
echo "Dump log : $DUMP_PATH/dump.log"
[ -e "$DUMP_PATH/restore.log" ] &&
echo "Restore log: $DUMP_PATH/restore.log"
fi
[ -e "$test_log" ] &&
echo "Output file: $test_log"
exit 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment