From: grev Date: Tue, 23 Sep 2008 19:01:53 +0000 (+0000) Subject: b=15521 X-Git-Tag: GIT_EPOCH_B_RELEASE_1_6_7~2^3~219 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=675271ad19a96508a62b69ff72e4aa0f42574036;p=fs%2Flustre-release.git b=15521 i=Robert.Read i=Nathan.Rutman test_127 fix --- diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index 1ebfbab..3c6fe1a 100644 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -5180,8 +5180,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"