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:
@@ -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
|
||||
|
Reference in New Issue
Block a user