Commit 53ababc6 authored by Andrey Vagin's avatar Andrey Vagin

zdtm: print warning messages about test processes

Signed-off-by: 's avatarAndrey Vagin <avagin@openvz.org>
parent 63d10b61
...@@ -55,7 +55,6 @@ run_test() ...@@ -55,7 +55,6 @@ run_test()
local args=$* local args=$*
local tname=`basename $test` local tname=`basename $test`
local tdir=`dirname $test` local tdir=`dirname $test`
local ret
killall -9 $tname killall -9 $tname
make -C $tdir cleanout $tname.pid make -C $tdir cleanout $tname.pid
...@@ -67,7 +66,10 @@ run_test() ...@@ -67,7 +66,10 @@ run_test()
echo Dump $pid echo Dump $pid
mkdir -p $ddump mkdir -p $ddump
setsid $CRTOOLS dump -D $ddump -o dump.log -t $pid $args $ARGS || return 1; setsid $CRTOOLS dump -D $ddump -o dump.log -t $pid $args $ARGS || {
echo WARNING: process $tname is left running for your debugging needs
return 1
}
if expr " $ARGS" : ' -s'; then if expr " $ARGS" : ' -s'; then
killall -CONT $tname killall -CONT $tname
......
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