Whamcloud - gitweb
branch: b1_8
authorericm <ericm>
Thu, 22 Oct 2009 14:57:19 +0000 (14:57 +0000)
committerericm <ericm>
Thu, 22 Oct 2009 14:57:19 +0000 (14:57 +0000)
wait before test file size.
b=20801
r=rread

lustre/tests/replay-single.sh

index 754d645..2dff201 100755 (executable)
@@ -440,9 +440,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"