Whamcloud - gitweb
b=15521
authorgrev <grev>
Tue, 23 Sep 2008 18:58:26 +0000 (18:58 +0000)
committergrev <grev>
Tue, 23 Sep 2008 18:58:26 +0000 (18:58 +0000)
i=Robert.Read
i=Nathan.Rutman
test_127 fix

lustre/tests/sanity.sh

index 3a458ec..e9ec28b 100644 (file)
@@ -5234,8 +5234,8 @@ test_127() { # bug 15521
         #check that we actually got some stats
         [ "$read_bytes" ] || error "Missing read_bytes stats"
         [ "$write_bytes" ] || error "Missing write_bytes stats"
-        [ "$read_bytes" = 0 ] && error "no read done"
-        [ "$write_bytes" = 0 ] && error "no write done"
+        [ "$read_bytes" != 0 ] || error "no read done"
+        [ "$write_bytes" != 0 ] || error "no write done"
 }
 run_test 127 "verify the client stats are sane"