From: buffalo-pull Date: Wed, 2 Jun 2004 20:35:10 +0000 (+0000) Subject: Make test more accurate and update error message again. X-Git-Tag: v1_8_0_110~486^5~200 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=3f3d7d81a9b8648c415241d399e4c8ea63583309;p=fs%2Flustre-release.git Make test more accurate and update error message again. --- 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"