Merge pull request #2721 from ludovic-henry/fix-mono_ms_ticks
[mono.git] / mono / tests / verifier / make_stobj_test.sh
index 1bf078b35dd01625e2ca7b2c5a77be047a346a5e..d1859623b24e494a819f8769bf3e8fb7998d4b4f 100755 (executable)
@@ -16,7 +16,7 @@ ZZ=`echo $TEST_TYPE2 | grep "\&"`
 T2_REF=$?
 
 LOCAL_INIT="";
-if [ "$T2_REF" == "0" ]; then
+if [ $T2_REF -eq 0 ]; then
        T2_NO_REF=`echo $TEST_TYPE2 | cut -d '\' -f 1`
        INIT_LOCS=", $T2_NO_REF V_2"
        INIT_IL="ldloca.s 2\n\tstloc.1"