summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2002-01-21 00:25:24 +0000
committerAndrew Bartlett <abartlet@samba.org>2002-01-21 00:25:24 +0000
commit180d7e8c43d754a0ba4494707ac7924ab4a06d72 (patch)
tree8523549579659bbbc955fb28bb7b9f8b5afa37b1
parenta96503475d9c1d91c2dfcdebb4f60183432d9aff (diff)
downloadsamba-180d7e8c43d754a0ba4494707ac7924ab4a06d72.tar.gz
samba-180d7e8c43d754a0ba4494707ac7924ab4a06d72.tar.xz
samba-180d7e8c43d754a0ba4494707ac7924ab4a06d72.zip
Add the -s command to keep smbpasswd quiet during the tests.
Andrew Bartlett
-rw-r--r--testsuite/build_farm/basicsmb.fns4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/build_farm/basicsmb.fns b/testsuite/build_farm/basicsmb.fns
index ab866601a34..dac735a10d1 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)"