summaryrefslogtreecommitdiffstats
path: root/source4/setup
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2014-02-14 23:13:37 +1300
committerStefan Metzmacher <metze@samba.org>2014-04-02 17:12:45 +0200
commit6f8297d3cfa0beb4c21101b528dfa598a24700ba (patch)
treef932f1e5de5f48b4fbc57d7042624fa3f394263e /source4/setup
parentc8e4c6a022046e70461e9faa2a7e39d9489f9b42 (diff)
downloadsamba-6f8297d3cfa0beb4c21101b528dfa598a24700ba.tar.gz
samba-6f8297d3cfa0beb4c21101b528dfa598a24700ba.tar.xz
samba-6f8297d3cfa0beb4c21101b528dfa598a24700ba.zip
selftest: make blackbox_setpassword.sh test run independently
Change-Id: I8f3cdfc2c66800f9a1e11aec4f25a42752b6b205 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source4/setup')
-rwxr-xr-xsource4/setup/tests/blackbox_setpassword.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/setup/tests/blackbox_setpassword.sh b/source4/setup/tests/blackbox_setpassword.sh
index 17447474c02..33fbe8b34d9 100755
--- a/source4/setup/tests/blackbox_setpassword.sh
+++ b/source4/setup/tests/blackbox_setpassword.sh
@@ -15,6 +15,8 @@ shift 1
samba_tool="./bin/samba-tool"
rm -rf $PREFIX/simple-dc
+mkdir -p $PREFIX/simple-dc
+
testit "simple-dc" $PYTHON $BINDIR/samba-tool domain provision --server-role="dc" --domain=FOO --realm=foo.example.com --domain-sid=S-1-5-21-4177067393-1453636373-93818738 --targetdir=$PREFIX/simple-dc --use-ntvfs
testit "user add" $samba_tool user create --configfile=$PREFIX/simple-dc/etc/smb.conf testuser testp@ssw0Rd