summaryrefslogtreecommitdiff
path: root/tests/run_tests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-02-03 14:11:18 -0200
committerSilvio Rhatto <rhatto@riseup.net>2010-02-03 14:11:18 -0200
commitadc9c0f1168b780e6c8b78f63caa2fb51cc72399 (patch)
tree8b431784fd610e203ca3b42f03069f1c617dcddd /tests/run_tests
parentb5d91bdba1f0a02614fd6f6e9699c2c97ec8b725 (diff)
downloadpuppet-mysql-adc9c0f1168b780e6c8b78f63caa2fb51cc72399.tar.gz
puppet-mysql-adc9c0f1168b780e6c8b78f63caa2fb51cc72399.tar.bz2
Adding resource types mysql_{user,database,grant} (2)
Diffstat (limited to 'tests/run_tests')
-rwxr-xr-xtests/run_tests13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/run_tests b/tests/run_tests
new file mode 100755
index 0000000..1ae6c42
--- /dev/null
+++ b/tests/run_tests
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+export RUBYLIB=${RUBYLIB:-../plugins}
+OPTIONS="$*"
+OPTIONS="${OPTIONS:---trace}"
+
+find -iname \*.pp | sort | while read current; do
+ echo "Running $current"
+ puppet $OPTIONS $current
+ echo "Running $current again"
+ puppet $OPTIONS $current
+ echo
+done