From: Garming Sam Date: Fri, 15 Dec 2017 02:43:32 +0000 (+1300) Subject: functionalprep.sh: New test for ensuring that the prep works correctly X-Git-Tag: talloc-2.1.11~104 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=87eeb897e4f9fae635c55940cedbc1501e529cd1;p=thirdparty%2Fsamba.git functionalprep.sh: New test for ensuring that the prep works correctly Signed-off-by: Garming Sam Reviewed-by: Andrew Bartlett --- diff --git a/selftest/tests.py b/selftest/tests.py index 713e9d3fbcd..1966c286835 100644 --- a/selftest/tests.py +++ b/selftest/tests.py @@ -136,6 +136,11 @@ plantestsuite( ["PYTHON=%s" % python, os.path.join(bbdir, "schemaupgrade.sh"), '$PREFIX_ABS/provision', configuration]) +plantestsuite( + "samba4.blackbox.functionalprep", "none", + ["PYTHON=%s" % python, + os.path.join(bbdir, "functionalprep.sh"), + '$PREFIX_ABS/provision', configuration]) planpythontestsuite("none", "samba.tests.upgradeprovision") planpythontestsuite("none", "samba.tests.xattr", py3_compatible=True) planpythontestsuite("none", "samba.tests.ntacls") diff --git a/testprogs/blackbox/functionalprep.sh b/testprogs/blackbox/functionalprep.sh new file mode 100755 index 00000000000..8bc2d243fa9 --- /dev/null +++ b/testprogs/blackbox/functionalprep.sh @@ -0,0 +1,76 @@ +#!/bin/sh + +if [ $# -lt 1 ]; then +cat <