Commit 060fb6fe authored by Kir Kolyshkin's avatar Kir Kolyshkin Committed by Andrey Vagin

test/zdtm.sh: trivial nitpicks

Remove excessive quotes and uneeded semicolons after breaks
Signed-off-by: 's avatarKir Kolyshkin <kir@openvz.org>
Signed-off-by: 's avatarAndrey Vagin <avagin@gmail.com>
parent 6cc9482a
...@@ -54,14 +54,14 @@ run_test() ...@@ -54,14 +54,14 @@ run_test()
make -C $tdir cleanout $tname.pid make -C $tdir cleanout $tname.pid
local pid=`cat $test.pid` || return 1 local pid=`cat $test.pid` || return 1
local ddump="dump/$tname/$pid" local ddump=dump/$tname/$pid
DUMP_PATH=`pwd`"/"$ddump DUMP_PATH=`pwd`/$ddump
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 || return 1
while :; do while :; do
killall -9 $tname &> /dev/null || break; killall -9 $tname &> /dev/null || break
echo Waiting... echo Waiting...
sleep 1 sleep 1
done done
...@@ -72,7 +72,7 @@ run_test() ...@@ -72,7 +72,7 @@ run_test()
echo Check results $pid echo Check results $pid
make -C $tdir $tname.out make -C $tdir $tname.out
for i in `seq 50`; do for i in `seq 50`; do
test -f $test.out && break; test -f $test.out && break
echo Waiting... echo Waiting...
sleep 1 sleep 1
done done
...@@ -83,7 +83,7 @@ run_test() ...@@ -83,7 +83,7 @@ run_test()
case_error() case_error()
{ {
local test=$ZP/$1 local test=$ZP/$1
local test_log="`pwd`/$test.out" local test_log=`pwd`/$test.out
echo "Test: $test" echo "Test: $test"
echo "====================== ERROR ======================" echo "====================== ERROR ======================"
......
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