From: walter Date: Sat, 6 Oct 2007 13:32:05 +0000 (+0000) Subject: b=13726 X-Git-Tag: v1_7_0_51~655 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=aade99ce0e0594b0f5ef1b2693a0229ae9382780;p=fs%2Flustre-release.git b=13726 i=adilger --- diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index 82eda87..6c0eae9 100644 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -4542,7 +4542,7 @@ test_121() { #bug #10589 cancel_lru_locks osc > /dev/null reads=`dd if=$DIR/$tfile of=/dev/null 2>&1 | awk 'BEGIN { FS="+" } /in/ {print $1}'` sysctl -w lustre.fail_loc=0 - [ $reads -eq $writes ] || error "read" $reads "blocks, must be" $writes + [ "$reads" -eq "$writes" ] || error "read" $reads "blocks, must be" $writes } run_test 121 "read cancel race ========="