diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index 328be96f646659a6405de31c756570358965309c..d65271a33a47222137907e931a91d6ce252df44d 100644 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -4449,7 +4449,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 ================================="