From 705b31cf80dea92f28dde5846ac1d3306620e289 Mon Sep 17 00:00:00 2001 From: Mikhail Pershin Date: Tue, 22 Nov 2011 10:59:26 +0400 Subject: [PATCH] LU-661 tests: don't check file-2 in replay-dual 0b It is uncertain was it replayed on not yet, so it might exist and test will fail. Remove wrong check from test Signed-off-by: Mikhail Pershin Change-Id: I724f389f0504f3c8c388b2b271b3a64cb61339ab Reviewed-on: http://review.whamcloud.com/4999 Tested-by: Hudson Reviewed-by: Andreas Dilger Tested-by: Maloo Reviewed-by: Fan Yong --- lustre/tests/replay-dual.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lustre/tests/replay-dual.sh b/lustre/tests/replay-dual.sh index 07969a1..e859a21 100755 --- a/lustre/tests/replay-dual.sh +++ b/lustre/tests/replay-dual.sh @@ -100,7 +100,8 @@ test_0b() { umount -f $MOUNT1 zconf_mount `hostname` $MOUNT1 || error "mount1 fais" zconf_mount `hostname` $MOUNT2 || error "mount2 fais" - checkstat $MOUNT1/$tfile-2 && return 1 + # it is uncertain if file-2 exists or not, remove it if it does + checkstat $MOUNT1/$tfile-2 && rm $MOUNT1/$tfile-2 checkstat $MOUNT2/$tfile && return 2 return 0 } -- 1.8.3.1