summaryrefslogtreecommitdiff
path: root/source4/selftest/test_functions.sh
diff options
context:
space:
mode:
Diffstat (limited to 'source4/selftest/test_functions.sh')
-rwxr-xr-xsource4/selftest/test_functions.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/source4/selftest/test_functions.sh b/source4/selftest/test_functions.sh
new file mode 100755
index 0000000000..6a7f8aba98
--- /dev/null
+++ b/source4/selftest/test_functions.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+plantest() {
+ name=$1
+ env=$2
+ shift 2
+ cmdline="$*"
+ echo "-- TEST --"
+ echo $name
+ echo $env
+ echo $cmdline
+}