Commit 21092716 authored by Andrey Vagin's avatar Andrey Vagin

zdtm: transmit to crtools dump

This functionality is used to check that dump isn't destructive.
parent a9f130fd
...@@ -65,9 +65,9 @@ run_test() ...@@ -65,9 +65,9 @@ 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 || return 1; setsid $CRTOOLS dump -D $ddump -o dump.log -t $pid $args $ARGS || return 1;
if expr "$args" : ' -s'; then if expr " $ARGS" : ' -s'; then
killall -CONT $tname killall -CONT $tname
else else
while :; do while :; do
...@@ -116,7 +116,6 @@ if [ "$1" == "-d" ]; then ...@@ -116,7 +116,6 @@ if [ "$1" == "-d" ]; then
fi fi
if [ $# -eq 0 ]; then if [ $# -eq 0 ]; then
ARGS=$1
for t in $TEST_LIST; do for t in $TEST_LIST; do
run_test $t || case_error $t run_test $t || case_error $t
done done
......
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