1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-24 10:50:22 +03:00

Fix up some braindamage in the testsuite.

(if you remove the smbpasswd file, you wont be able to change the passwords
contained therein... :-)

Andrew Bartlett
(This used to be commit dd8388330e5ad0ae1a82f876e3a95fba854d1528)
This commit is contained in:
Andrew Bartlett 2002-02-09 11:47:55 +00:00
parent 03cfb31ad9
commit 3981d2c16a

View File

@ -89,7 +89,6 @@ test_smbpasswd() {
test_smbpasswd_remote() {
test_smbpasswd_password="$1"
test_smbpasswd_newpassword="$2"
rm -f $prefix/private/smbpasswd
echo "( echo $test_smbpasswd_password; echo $test_smbpasswd_newpassword ; echo $test_smbpasswd_newpassword; ) | $prefix/bin/smbpasswd -r localhost -s -U $whoami"
( echo $test_smbpasswd_password; echo $test_smbpasswd_newpassword ; echo $test_smbpasswd_newpassword; ) | $prefix/bin/smbpasswd -r localhost -s -U $whoami
status=$?
@ -104,7 +103,6 @@ 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 -s $whoami"
( echo $test_smbpasswd_newpassword ; echo $test_smbpasswd_newpassword; ) | $prefix/bin/smbpasswd -L -s $whoami
status=$?