Whamcloud - gitweb
After further discussion with Andreas, this test and error message should be
authorbuffalo-pull <buffalo-pull>
Thu, 3 Jun 2004 00:30:29 +0000 (00:30 +0000)
committerbuffalo-pull <buffalo-pull>
Thu, 3 Jun 2004 00:30:29 +0000 (00:30 +0000)
the correct ones.

lustre/tests/sanity.sh

index bc1946b..a16ce2a 100644 (file)
@@ -1379,8 +1379,8 @@ trunc_test() {
 
 test_42c() {
         trunc_test 42c 1024
-        [ $BEFOREWRITES -ge $AFTERWRITES ] && \
-            error "beforewrites $BEFOREWRITES >= afterwrites $AFTERWRITES on truncate"
+        [ $BEFOREWRITES -eq $AFTERWRITES ] && \
+            error "beforewrites $BEFOREWRITES == afterwrites $AFTERWRITES on truncate"
         rm $file
 }
 run_test 42c "test partial truncate of file with cached dirty data"