summaryrefslogtreecommitdiff
path: root/tests/run_tests
blob: 1ae6c42811eabbc77dcfedbd7d451e63d9741f71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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