summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Jerdonek <chris.jerdonek@gmail.com>2013-09-15 09:24:32 -0700
committerChris Jerdonek <chris.jerdonek@gmail.com>2013-09-15 09:24:32 -0700
commitf05776adf699afc6dbb865bfc1b9ce69d346c803 (patch)
tree1de263e849df0b9c6974efec14d6904696f82eba
parent9765f2633db6ee41711a61d48675acc96b9ed010 (diff)
downloadpystache-f05776adf699afc6dbb865bfc1b9ce69d346c803.tar.gz
Add test_pystache.sh for testing PYTHONHASHSEED values.
-rwxr-xr-xtest_pystache.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/test_pystache.sh b/test_pystache.sh
new file mode 100755
index 0000000..4d4cfcb
--- /dev/null
+++ b/test_pystache.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+#
+# This wrapper script is useful for running tests with different
+# PYTHONHASHSEED values.
+#
+# Sample usage:
+#
+# $ ./test_pystache.sh [ARGS]
+#
+export PYTHONHASHSEED=$RANDOM
+python test_pystache.py "$@"