Add the -s command to keep smbpasswd quiet during the tests.
[ira/wip.git] / 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
-       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)"