2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 06:15:24 +00:00

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

We want to have maximum info about an error.
This commit is contained in:
Andrey Vagin
2012-02-14 16:07:39 +04:00
parent 6c0b5becf5
commit a9f130fd82

View File

@@ -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