Whamcloud - gitweb
b=16918
authoralex <alex>
Wed, 12 Nov 2008 08:09:08 +0000 (08:09 +0000)
committeralex <alex>
Wed, 12 Nov 2008 08:09:08 +0000 (08:09 +0000)
i=adilger

 - fix test checking ROC cache invalidation

lustre/tests/sanity.sh

index f3ba16d..1eaf15c 100644 (file)
@@ -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