From 901959d9ca4ba09f03367024c3ab74cc6fb86d78 Mon Sep 17 00:00:00 2001 From: Giampaolo Lauria Date: Wed, 27 Jul 2011 15:44:34 -0400 Subject: samba-tool: updated test suite to account for newuser change Updated test suite invocations of newuser to "user add" as the newuser functionality is now being moved to "user add" Signed-off-by: Andrew Tridgell --- testprogs/blackbox/test_export_keytab.sh | 2 +- testprogs/blackbox/test_ktpass.sh | 2 +- testprogs/blackbox/test_passwords.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'testprogs') diff --git a/testprogs/blackbox/test_export_keytab.sh b/testprogs/blackbox/test_export_keytab.sh index fc25a9f807..81db520441 100755 --- a/testprogs/blackbox/test_export_keytab.sh +++ b/testprogs/blackbox/test_export_keytab.sh @@ -22,7 +22,7 @@ samba4bindir="$BINDIR" smbclient="$samba4bindir/smbclient$EXEEXT" samba4kinit="$samba4bindir/samba4kinit$EXEEXT" samba_tool="$samba4bindir/samba-tool$EXEEXT" -newuser="$samba_tool newuser" +newuser="$samba_tool user add" . `dirname $0`/subunit.sh diff --git a/testprogs/blackbox/test_ktpass.sh b/testprogs/blackbox/test_ktpass.sh index 33adba4271..348916d779 100755 --- a/testprogs/blackbox/test_ktpass.sh +++ b/testprogs/blackbox/test_ktpass.sh @@ -21,7 +21,7 @@ CONFIG="--configfile=$PREFIX/dc/etc/smb.conf" TESTUSER="ktpassUser" -testit "newuser" $samba_tool newuser $CONFIG $TESTUSER testp@ssw0Rd || failed=`expr $failed + 1` +testit "user add" $samba_tool user add $CONFIG $TESTUSER testp@ssw0Rd || failed=`expr $failed + 1` KRB5CCNAME="$PREFIX/tmpccache" export KRB5CCNAME diff --git a/testprogs/blackbox/test_passwords.sh b/testprogs/blackbox/test_passwords.sh index dc5eaa1a3b..179aec35c1 100755 --- a/testprogs/blackbox/test_passwords.sh +++ b/testprogs/blackbox/test_passwords.sh @@ -25,7 +25,7 @@ samba4kinit="$samba4bindir/samba4kinit$EXEEXT" samba_tool="$samba4bindir/samba-tool$EXEEXT" rkpty="$samba4bindir/rkpty$EXEEXT" samba4kpasswd="$samba4bindir/samba4kpasswd$EXEEXT" -newuser="$samba_tool newuser" +newuser="$samba_tool user add" . `dirname $0`/subunit.sh -- cgit