summaryrefslogtreecommitdiffstats
path: root/source4/selftest/test_samba3dump.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xsource4/selftest/test_samba3dump.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/source4/selftest/test_samba3dump.sh b/source4/selftest/test_samba3dump.sh
new file mode 100755
index 0000000..f8dc850
--- /dev/null
+++ b/source4/selftest/test_samba3dump.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+# Verify that samba3dump completes.
+
+. testprogs/blackbox/subunit.sh
+
+subunit_start_test samba3dump
+
+SRCDIR=$(dirname $0)/../..
+
+if $PYTHON $SRCDIR/source4/scripting/bin/samba3dump $SRCDIR/testdata/samba3; then
+ subunit_pass_test samba3dump
+else
+ echo | subunit_fail_test samba3dump
+fi