From 7a31ecc9578981db9bf74b8f65f83073360761b3 Mon Sep 17 00:00:00 2001 From: buffalo-pull Date: Thu, 3 Jun 2004 00:30:29 +0000 Subject: [PATCH] After further discussion with Andreas, this test and error message should be the correct ones. --- lustre/tests/sanity.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index bc1946b..a16ce2a 100644 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -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" -- 1.8.3.1