Whamcloud - gitweb
b=13726
authorwalter <walter>
Sat, 6 Oct 2007 13:32:05 +0000 (13:32 +0000)
committerwalter <walter>
Sat, 6 Oct 2007 13:32:05 +0000 (13:32 +0000)
i=adilger

lustre/tests/sanity.sh

index 82eda87..6c0eae9 100644 (file)
@@ -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 ========="