diff --git a/test/wrapper.fish b/test/wrapper.fish index bd95ac0..67568c2 100644 --- a/test/wrapper.fish +++ b/test/wrapper.fish @@ -23,12 +23,12 @@ echo "Testing the sdk wrapper" set failures 0 for sdk_cmd in $test_commands echo " Testing '$sdk_cmd'" - bash -c "source \"$sdk_init\" && $sdk_cmd > sout_bash; - echo \"\$?\" > status_bash; + bash -c "source \"$sdk_init\" && $sdk_cmd > sout_bash; + echo \"\$?\" > status_bash; echo \"\$PATH\" > path_bash; echo \"\$ANT_HOME\" > anthome_bash" - fish -c "$sdk_cmd > sout_fish; - echo \"\$status\" > status_fish; + fish -c "$sdk_cmd > sout_fish; + echo \"\$status\" > status_fish; echo \"\$PATH\" > path_fish; echo \"\$ANT_HOME\" > anthome_fish" @@ -52,4 +52,4 @@ rm {sout,status,path}_{bash,fish} echo "Ran $test_count commands with 3 checks each." echo "$failures/$check_count checks failed." -exit (math $failures != 0) \ No newline at end of file +exit (test $failures != 0)