Whamcloud - gitweb
Make the error message a little more clear as to the conditions of the test
authorbuffalo-pull <buffalo-pull>
Wed, 2 Jun 2004 17:41:23 +0000 (17:41 +0000)
committerbuffalo-pull <buffalo-pull>
Wed, 2 Jun 2004 17:41:23 +0000 (17:41 +0000)
being a FAIL.

lustre/tests/sanity.sh

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