Commit d9e7a5f1 authored by Pavel Emelyanov's avatar Pavel Emelyanov

zdtm: Add ability just to start the test

When running test with ns/ prefix zdth.sh does complex preparations.
Make it possible to make them and let started process ready for
manual investigation.
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
Acked-by: 's avatarAndrew Vagin <avagin@parallels.com>
parent c09b7c2f
......@@ -189,6 +189,7 @@ CLEANUP=0
PAGE_SERVER=0
PS_PORT=12345
COMPILE_ONLY=0
START_ONLY=0
BATCH_TEST=0
SPECIFIED_NAME_USED=0
......@@ -449,6 +450,11 @@ run_test()
start_test $tdir $tname || return 1
if [ $START_ONLY -eq 1 ]; then
echo "Test is started"
return 0
fi
local ddump
if ! kill -s 0 "$PID"; then
echo "Got a wrong pid '$PID'"
......@@ -709,6 +715,7 @@ Options:
-t : mount tmpfs for dump files
-a <FILE>.tar.gz : save archive with dump files and logs
-g : Generate executables only
-S : Only start the test
-n : Batch test
-r : Run test with specified name directly without match or check
-v : Verbose mode
......@@ -797,6 +804,10 @@ while :; do
COMPILE_ONLY=1
shift
;;
-S)
START_ONLY=1
shift
;;
-n)
BATCH_TEST=1
shift
......
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