mirror of
https://github.com/checkpoint-restore/criu
synced 2025-09-02 23:35:21 +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
|
echo Dump $pid
|
||||||
mkdir -p $ddump
|
mkdir -p $ddump
|
||||||
setsid $CRTOOLS dump -D $ddump -o dump.log -t $pid $args
|
setsid $CRTOOLS dump -D $ddump -o dump.log -t $pid $args || return 1;
|
||||||
ret=$?
|
|
||||||
while :; do
|
|
||||||
killall -9 $tname &> /dev/null || break
|
|
||||||
echo Waiting...
|
|
||||||
sleep 1
|
|
||||||
done
|
|
||||||
[ "$ret" -eq 0 ] || return 1
|
|
||||||
|
|
||||||
if expr "$args" : ' -s'; then
|
if expr "$args" : ' -s'; then
|
||||||
killall -CONT $tname
|
killall -CONT $tname
|
||||||
|
Reference in New Issue
Block a user