From 3f3d7d81a9b8648c415241d399e4c8ea63583309 Mon Sep 17 00:00:00 2001 From: buffalo-pull Date: Wed, 2 Jun 2004 20:35:10 +0000 Subject: [PATCH] Make test more accurate and update error message again. --- lustre/tests/sanity.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index a16ce2a..bc1946b 100644 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -1379,8 +1379,8 @@ trunc_test() { test_42c() { trunc_test 42c 1024 - [ $BEFOREWRITES -eq $AFTERWRITES ] && \ - error "beforewrites $BEFOREWRITES == afterwrites $AFTERWRITES on truncate" + [ $BEFOREWRITES -ge $AFTERWRITES ] && \ + error "beforewrites $BEFOREWRITES >= afterwrites $AFTERWRITES on truncate" rm $file } run_test 42c "test partial truncate of file with cached dirty data" -- 1.8.3.1