summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Hupp <adam@hupp.org>2015-01-07 00:06:12 -0800
committerAdam Hupp <adam@hupp.org>2015-01-07 00:06:12 -0800
commit221a407f5c68d74f8567383b8d000be2147a1eec (patch)
tree01c834602a044d5e92ccc37482f8772dd796d9e2
parent209df6050372358f7334f65d5f68e2cb15fb2874 (diff)
downloadpython-magic-221a407f5c68d74f8567383b8d000be2147a1eec.tar.gz
simple test script, ensuring correct env
-rwxr-xr-xtests.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests.sh b/tests.sh
new file mode 100755
index 0000000..82bea76
--- /dev/null
+++ b/tests.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+set -e
+
+# ensure we can use unicode filenames in the test
+export LC_ALL=en_US.UTF-8
+
+python2.6 test.py
+python2.7 test.py
+python3 test.py