Whamcloud - gitweb
Make test more accurate and update error message again.
authorbuffalo-pull <buffalo-pull>
Wed, 2 Jun 2004 20:35:10 +0000 (20:35 +0000)
committerbuffalo-pull <buffalo-pull>
Wed, 2 Jun 2004 20:35:10 +0000 (20:35 +0000)
lustre/tests/sanity.sh

index a16ce2a..bc1946b 100644 (file)
@@ -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"