Commit a9f130fd authored by Andrey Vagin's avatar Andrey Vagin

zdtm: don't kill test processes in case an error

We want to have maximum info about an error.
parent 6c0b5bec
......@@ -65,14 +65,7 @@ run_test()
echo Dump $pid
mkdir -p $ddump
setsid $CRTOOLS dump -D $ddump -o dump.log -t $pid $args
ret=$?
while :; do
killall -9 $tname &> /dev/null || break
echo Waiting...
sleep 1
done
[ "$ret" -eq 0 ] || return 1
setsid $CRTOOLS dump -D $ddump -o dump.log -t $pid $args || return 1;
if expr "$args" : ' -s'; then
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