test-blackbox: Rearrange the arguments in required order for samba-tool time
authorAmitay Isaacs <amitay@gmail.com>
Wed, 27 Jul 2011 08:49:35 +0000 (18:49 +1000)
committerAndrew Tridgell <tridge@samba.org>
Thu, 28 Jul 2011 05:20:53 +0000 (15:20 +1000)
Python version of samba-tool requires the command and the subcommand to
be specified before the options.

Signed-off-by: Andrew Tridgell <tridge@samba.org>
testprogs/blackbox/test_kinit.sh

index 36327ebe38011a68ea111e3511ce9957ca2f96a2..9c85b288787581f8cf29a3a1bb0ae29e0522764b 100755 (executable)
@@ -69,7 +69,7 @@ testit "kinit renew ticket" $samba4kinit $enctype --request-pac -R
 
 test_smbclient "Test login with kerberos ccache" 'ls' -k yes || failed=`expr $failed + 1`
 
-testit "check time with kerberos ccache" $VALGRIND $samba_tool $CONFIGURATION -k yes $@ time $SERVER || failed=`expr $failed + 1`
+testit "check time with kerberos ccache" $VALGRIND $samba_tool time $SERVER $CONFIGURATION -k yes $@ || failed=`expr $failed + 1`
 
 USERPASS=testPass@12%
 echo $USERPASS > $PREFIX/tmpuserpassfile