diff options
author | John Stamp <jstamp@users.sourceforge.net> | 2010-08-10 19:11:43 -0700 |
---|---|---|
committer | Lloyd Hilaiel <lloyd@hilaiel.com> | 2010-08-10 21:41:35 -0600 |
commit | f6f2085b0ca6061c31872920a3da399b8b6cc4eb (patch) | |
tree | 7858a0515e06d79520b278aa97ebf65ea9bd8bdb | |
parent | 3e1e05601258a518af169be7705e2ff06d1d603e (diff) | |
download | yajl-f6f2085b0ca6061c31872920a3da399b8b6cc4eb.tar.gz |
Fix test for W32
Signed-off-by: Lloyd Hilaiel <lloyd@hilaiel.com>
-rwxr-xr-x | test/run_tests.sh | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/test/run_tests.sh b/test/run_tests.sh index dcb9ef4..9421e85 100755 --- a/test/run_tests.sh +++ b/test/run_tests.sh @@ -1,9 +1,11 @@ #!/bin/sh DIFF_FLAGS="-u" -if [ `uname` = "*W32*" ] ; then - DIFF_FLAGS="-wu" -fi +case "$(uname)" in + *W32*) + DIFF_FLAGS="-wu" + ;; +esac if [ -z "$testBin" ]; then testBin="$1" |