summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Stamp <jstamp@users.sourceforge.net>2010-08-10 19:11:43 -0700
committerLloyd Hilaiel <lloyd@hilaiel.com>2010-08-10 21:41:35 -0600
commitf6f2085b0ca6061c31872920a3da399b8b6cc4eb (patch)
tree7858a0515e06d79520b278aa97ebf65ea9bd8bdb
parent3e1e05601258a518af169be7705e2ff06d1d603e (diff)
downloadyajl-f6f2085b0ca6061c31872920a3da399b8b6cc4eb.tar.gz
Fix test for W32
Signed-off-by: Lloyd Hilaiel <lloyd@hilaiel.com>
-rwxr-xr-xtest/run_tests.sh8
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"