See if we can get a slight chance of this actually working...
authorAndrew Bartlett <abartlet@samba.org>
Fri, 1 Mar 2002 01:41:27 +0000 (01:41 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 1 Mar 2002 01:41:27 +0000 (01:41 +0000)
(This used to be commit f1eb782eeeaca6efc0f89713ca449a379272eaad)

testsuite/build_farm/basicsmb.fns

index d996a5d775e58a37b09420204c4c27bd73b65f21..75c40e879e4ef1a43a43098c0436c59e7aac5e38 100644 (file)
@@ -87,15 +87,15 @@ test_smbpasswd() {
 }
 
 test_smbpasswd_remote() {
 }
 
 test_smbpasswd_remote() {
-       test_smbpasswd_password="$1"
-       test_smbpasswd_newpassword="$2"
-       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
+       test_smbpasswd_rem_password="$1"
+       test_smbpasswd_rem_newpassword="$2"
+       echo "( echo $test_smbpasswd_rem_password; echo $test_smbpasswd_rem_newpassword; echo $test_smbpasswd_rem_newpassword; ) | $prefix/bin/smbpasswd -r localhost -s -U $whoami"
+       ( echo $test_smbpasswd_rem_password; echo $test_smbpasswd_rem_newpassword; echo $test_smbpasswd_rem_newpassword; ) | $prefix/bin/smbpasswd -r localhost -s -U $whoami
        status=$?
        if [ $status = 0 ]; then
        status=$?
        if [ $status = 0 ]; then
-           echo "smbpasswd correctly remotely changed password ($test_smbpasswd_password -> $test_smbpasswd_newpassword)"
+           echo "smbpasswd correctly remotely changed password ($test_smbpasswd_rem_password -> $test_smbpasswd_rem_newpassword)"
        else
        else
-           echo "smbpasswd failed to remotely changed password ($test_smbpasswd_password -> $test_smbpasswd_newpassword)! (status $status)"
+           echo "smbpasswd failed to remotely changed password ($test_smbpasswd_rem_password -> $test_smbpasswd_rem_newpassword)! (status $status)"
            return 1
        fi
        return 0
            return 1
        fi
        return 0