From 8abf475d59c7f5fa642183f7a3841a26cbbe5acc Mon Sep 17 00:00:00 2001 From: Andrey Vagin Date: Tue, 26 Jun 2012 14:05:00 +0400 Subject: [PATCH] zdtm: make zdtm.sh faster in two times It requered 1m19s for executing all tests. Now it requires 38s. Signed-off-by: Andrey Vagin Signed-off-by: Pavel Emelyanov --- test/zdtm.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/zdtm.sh b/test/zdtm.sh index 78a2996d2..60f6b7fc0 100644 --- a/test/zdtm.sh +++ b/test/zdtm.sh @@ -180,7 +180,7 @@ run_test() while :; do killall -9 $tname &> /dev/null || break echo Waiting... - sleep 1 + sleep 0.1 done echo Restore $PID @@ -195,7 +195,7 @@ run_test() for i in `seq 50`; do test -f $test.out && break echo Waiting... - sleep 1 + sleep 0.1 done cat $test.out cat $test.out | grep PASS || return 2