Whamcloud - gitweb
LU-15421 tests: Add missing error() calls on errors
[fs/lustre-release.git] / lustre / tests / sanity-lfsck.sh
index ab7eb70..bcd1a19 100644 (file)
@@ -5853,7 +5853,7 @@ test_38()
                error "$DIR/$tdir/$tfile: setstripe should fail"
 
        # R/W should fail
-       cat $DIR/$tdir/$tfile && "$DIR/$tdir/$tfile: read should fail"
+       cat $DIR/$tdir/$tfile && error "$DIR/$tdir/$tfile: read should fail"
        cat /etc/passwd > $DIR/$tdir/$tfile &&
                error "$DIR/$tdir/$tfile: write should fail"