From ec21ccfbc37eb2fbd0b75a00f39ecdbf069fdb7d Mon Sep 17 00:00:00 2001 From: grev Date: Tue, 23 Sep 2008 18:57:19 +0000 Subject: [PATCH] b=15521 i=Robert.Read i=Nathan.Rutman test_127 fix --- lustre/tests/sanity.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index c159ed2..dd1be09 100644 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -5182,8 +5182,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" -- 1.8.3.1