summaryrefslogtreecommitdiff
path: root/testprogs
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-05-24 13:37:09 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-05-24 09:59:04 +0200
commit22cd4bcc9e8367c6871512f4c96033c7836e2c41 (patch)
tree109cdcda35c1c625b3e096a161e7ef372de61e69 /testprogs
parentf52afa955ecdf856b730a0855bf001293fdd8f0c (diff)
downloadsamba-22cd4bcc9e8367c6871512f4c96033c7836e2c41.tar.gz
s4-selftest: Always delete the user at the end of test_passwords.sh
If this test is run in the "dc" environment (rather than "dc:local") is would not delete the test user. Andrew Bartlett
Diffstat (limited to 'testprogs')
-rwxr-xr-xtestprogs/blackbox/test_passwords.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/testprogs/blackbox/test_passwords.sh b/testprogs/blackbox/test_passwords.sh
index c83b46b4fc7..fe8386dd343 100755
--- a/testprogs/blackbox/test_passwords.sh
+++ b/testprogs/blackbox/test_passwords.sh
@@ -227,7 +227,7 @@ testit_expect_failure "try to change password too quickly (command should not su
testit "reset password policies" $VALGRIND $samba_tool domain passwordsettings $CONFIG set --complexity=default --history-length=default --min-pwd-length=default --min-pwd-age=default --max-pwd-age=default || failed=`expr $failed + 1`
-testit "del user" $VALGRIND $samba_tool user delete nettestuser -U"$USERNAME%$PASSWORD" -k no $@ || failed=`expr $failed + 1`
+testit "del user" $VALGRIND $samba_tool user delete nettestuser -U"$USERNAME%$PASSWORD" $CONFIG -k no $@ || failed=`expr $failed + 1`
rm -f tmpccfile tmppassfile tmpuserpassfile tmpuserccache tmpkpasswdscript tmpsmbpasswdscript
exit $failed