Fix up some braindamage in the testsuite.
authorAndrew Bartlett <abartlet@samba.org>
Sat, 9 Feb 2002 11:47:55 +0000 (11:47 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Sat, 9 Feb 2002 11:47:55 +0000 (11:47 +0000)
(if you remove the smbpasswd file, you wont be able to change the passwords
contained therein... :-)

Andrew Bartlett
(This used to be commit dd8388330e5ad0ae1a82f876e3a95fba854d1528)

testsuite/build_farm/basicsmb.fns

index dac735a10d1a57ae4a4505892b12c8b59dfc7114..d996a5d775e58a37b09420204c4c27bd73b65f21 100644 (file)
@@ -89,7 +89,6 @@ test_smbpasswd() {
 test_smbpasswd_remote() {
        test_smbpasswd_password="$1"
        test_smbpasswd_newpassword="$2"
 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=$?
        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"
 
 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=$?
        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=$?