From 4c2ef6ce2d585605da7e479d0b1d7e4cffeb336f Mon Sep 17 00:00:00 2001
From: alex <alex>
Date: Wed, 12 Nov 2008 08:09:08 +0000
Subject: [PATCH] b=16918 i=adilger

 - fix test checking ROC cache invalidation
---
 lustre/tests/sanity.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh
index f3ba16db9d..1eaf15c13a 100644
--- a/lustre/tests/sanity.sh
+++ b/lustre/tests/sanity.sh
@@ -5823,7 +5823,7 @@ test_151() {
         cancel_lru_locks osc
 	cat $DIR/$tfile >/dev/null
 	AFTER=`roc_hit`
-	if ! let "AFTER - BEFORE == CPAGES"; then
+	if let "AFTER - BEFORE != 0"; then
 		error "IN CACHE: before: $BEFORE, after: $AFTER"
 	fi
 
-- 
GitLab