Add the -s command to keep smbpasswd quiet during the tests.
authorAndrew Bartlett <abartlet@samba.org>
Mon, 21 Jan 2002 00:25:24 +0000 (00:25 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 21 Jan 2002 00:25:24 +0000 (00:25 +0000)
Andrew Bartlett
(This used to be commit 180d7e8c43d754a0ba4494707ac7924ab4a06d72)

testsuite/build_farm/basicsmb.fns

index ab866601a34519e7fc956f4a0e3c26c6c0c84b99..dac735a10d1a57ae4a4505892b12c8b59dfc7114 100644 (file)
@@ -105,8 +105,8 @@ test_smbpasswd_remote() {
 test_smbpasswd_local() {
        test_smbpasswd_newpassword="$2"
        rm -f $prefix/private/smbpasswd
 test_smbpasswd_local() {
        test_smbpasswd_newpassword="$2"
        rm -f $prefix/private/smbpasswd
-       echo "( echo $test_smbpasswd_newpassword ; echo $test_smbpasswd_newpassword; ) | $prefix/bin/smbpasswd -L $whoami"
-       ( echo $test_smbpasswd_newpassword ; echo $test_smbpasswd_newpassword; ) | $prefix/bin/smbpasswd -L $whoami
+       echo "( echo $test_smbpasswd_newpassword ; echo $test_smbpasswd_newpassword; ) | $prefix/bin/smbpasswd -L -s $whoami"
+       ( echo $test_smbpasswd_newpassword ; echo $test_smbpasswd_newpassword; ) | $prefix/bin/smbpasswd -L -s $whoami
        status=$?
        if [ $status = 0 ]; then
            echo "smbpasswd correctly locally changed password ($test_smbpasswd_password -> $test_smbpasswd_newpassword)"
        status=$?
        if [ $status = 0 ]; then
            echo "smbpasswd correctly locally changed password ($test_smbpasswd_password -> $test_smbpasswd_newpassword)"