diff --git a/tests/run.sh b/tests/run.sh index 4d30c7f..e7b7b0b 100755 --- a/tests/run.sh +++ b/tests/run.sh @@ -10,6 +10,7 @@ abort=1 for test in ${tests} do printf "%-50s%s %s" "- $(basename $test)" "=>" + echo $test cd $test testcmd="esds run platform.yaml" timeout $test_timeout ${testcmd} &> "$out" @@ -24,8 +25,15 @@ do exit 2 fi + # Ensure OSX compatibility + case "$OSTYPE" in + darwin*) optbase="-i" ;; + *) optbase="" ;; + esac + # Ensure test output - if [ "$(base64 $out)" = "$(base64 ./out)" ] + + if [ "$(base64 $optbase $out)" = "$(base64 $optbase ./out)" ] then echo "passed" else