From: inikep Date: Fri, 27 May 2016 08:07:46 +0000 (+0200) Subject: playTests.sh updated to work better with /bin/sh X-Git-Tag: v0.7.0^2~37^2~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=993a9dfc5a0815b8e397b03cf5b6c5ba4191c5c5;p=thirdparty%2Fzstd.git playTests.sh updated to work better with /bin/sh --- diff --git a/programs/tests/playTests.sh b/programs/tests/playTests.sh index dbeb916d0..5ff4c4e07 100755 --- a/programs/tests/playTests.sh +++ b/programs/tests/playTests.sh @@ -22,10 +22,12 @@ roundTripTest() { isWindows=false ECHO="echo" -if [[ "$OS" == "Windows"* ]]; then +case "$OS" in + Windows*) isWindows=true ECHO="echo -e" -fi + ;; +esac $ECHO "\nStarting playTests.sh isWindows=$isWindows"