From: buffalo-pull Date: Wed, 2 Jun 2004 17:41:23 +0000 (+0000) Subject: Make the error message a little more clear as to the conditions of the test X-Git-Tag: v1_8_0_110~486^5~201 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=80fa51714c0a2aad0a4cb14c53610c496c4ee71a;p=fs%2Flustre-release.git Make the error message a little more clear as to the conditions of the test being a FAIL. --- diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index 143f981..a16ce2a 100644 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -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"