summaryrefslogtreecommitdiff
path: root/source4/setup/tests
diff options
context:
space:
mode:
authorTheresa Halloran <theresahalloran@gmail.com>2011-05-19 16:24:00 -0400
committerAndrew Tridgell <tridge@samba.org>2011-06-01 17:24:36 +1000
commit23177b5f44815bc5b46943c70d37dc626ed60288 (patch)
treefe9742ec64445d1861c0613c5bc0500ea82b92e4 /source4/setup/tests
parent726ee12bb450821f929e05ca1c708f3e33f909cf (diff)
downloadsamba-23177b5f44815bc5b46943c70d37dc626ed60288.tar.gz
samba-23177b5f44815bc5b46943c70d37dc626ed60288.tar.bz2
samba-23177b5f44815bc5b46943c70d37dc626ed60288.zip
s4:samba-tool: Move samba-tool setexpiry to samba-tool user setexpiry <user>
Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'source4/setup/tests')
-rwxr-xr-xsource4/setup/tests/blackbox_newuser.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/setup/tests/blackbox_newuser.sh b/source4/setup/tests/blackbox_newuser.sh
index 71c957bef3..5ce634a70d 100755
--- a/source4/setup/tests/blackbox_newuser.sh
+++ b/source4/setup/tests/blackbox_newuser.sh
@@ -34,9 +34,9 @@ testit "setpassword" $samba_tool setpassword $CONFIG NewUser --newpassword=testp
testit "setpassword" $samba_tool setpassword $CONFIG NewUser1 --newpassword=testp@ssw0Rd2
# check the setexpiry script
-testit "noexpiry" $samba_tool setexpiry $CONFIG NewUser --noexpiry
-testit "noexpiry" $samba_tool setexpiry $CONFIG NewUser1 --noexpiry
-testit "expiry" $samba_tool setexpiry $CONFIG NewUser --days=7
-testit "expiry" $samba_tool setexpiry $CONFIG NewUser1 --days=7
+testit "noexpiry" $samba_tool user setexpiry $CONFIG NewUser --noexpiry
+testit "noexpiry" $samba_tool user setexpiry $CONFIG NewUser1 --noexpiry
+testit "expiry" $samba_tool user setexpiry $CONFIG NewUser --days=7
+testit "expiry" $samba_tool user setexpiry $CONFIG NewUser1 --days=7
exit $failed