From acd36b0690211a4651c10785d64c52fb1533a66f Mon Sep 17 00:00:00 2001 From: ericm Date: Thu, 22 Oct 2009 03:15:20 +0000 Subject: [PATCH] branch: HEAD wait before test file size. b=20801 r=rread --- lustre/tests/replay-single.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lustre/tests/replay-single.sh b/lustre/tests/replay-single.sh index 792176d..992aa31 100755 --- a/lustre/tests/replay-single.sh +++ b/lustre/tests/replay-single.sh @@ -499,9 +499,9 @@ test_20c() { # bug 10480 df -P $DIR || df -P $DIR || true # reconnect kill -USR1 $pid - test -s $DIR/$tfile || error "File was truncated" - wait $pid || return 1 + [ -s $DIR/$tfile ] || error "File was truncated" + return 0 } run_test 20c "check that client eviction does not affect file content" -- 1.8.3.1