git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a965034
)
Add the -s command to keep smbpasswd quiet during the tests.
author
Andrew Bartlett
<abartlet@samba.org>
Mon, 21 Jan 2002 00:25:24 +0000
(
00:25
+0000)
committer
Andrew Bartlett
<abartlet@samba.org>
Mon, 21 Jan 2002 00:25:24 +0000
(
00:25
+0000)
Andrew Bartlett
testsuite/build_farm/basicsmb.fns
patch
|
blob
|
history
diff --git
a/testsuite/build_farm/basicsmb.fns
b/testsuite/build_farm/basicsmb.fns
index ab866601a34519e7fc956f4a0e3c26c6c0c84b99..dac735a10d1a57ae4a4505892b12c8b59dfc7114 100644
(file)
--- 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
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)"