From 675271ad19a96508a62b69ff72e4aa0f42574036 Mon Sep 17 00:00:00 2001 From: grev Date: Tue, 23 Sep 2008 19:01:53 +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 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" -- 1.8.3.1