diff options
author | Andrew Bartlett <abartlet@samba.org> | 2002-01-21 00:25:24 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2002-01-21 00:25:24 +0000 |
commit | 4b6f928103c6585abc72cb3fc7d5070b16ea8f81 (patch) | |
tree | 9c9890cd515c79486bd051022ab7a6083bc86d13 | |
parent | 93e9fd542dfbde89ab84717db3b0981773b63923 (diff) | |
download | samba-4b6f928103c6585abc72cb3fc7d5070b16ea8f81.tar.gz samba-4b6f928103c6585abc72cb3fc7d5070b16ea8f81.tar.bz2 samba-4b6f928103c6585abc72cb3fc7d5070b16ea8f81.zip |
Add the -s command to keep smbpasswd quiet during the tests.
Andrew Bartlett
(This used to be commit 180d7e8c43d754a0ba4494707ac7924ab4a06d72)
-rw-r--r-- | testsuite/build_farm/basicsmb.fns | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/build_farm/basicsmb.fns b/testsuite/build_farm/basicsmb.fns index ab866601a3..dac735a10d 100644 --- a/testsuite/build_farm/basicsmb.fns +++ b/testsuite/build_farm/basicsmb.fns @@ -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)" |