use the variable passed as a paramater, not just one randomly in our namespace.
authorAndrew Bartlett <abartlet@samba.org>
Fri, 1 Mar 2002 02:37:31 +0000 (02:37 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 1 Mar 2002 02:37:31 +0000 (02:37 +0000)
Andrew Bartlett
(This used to be commit 18f6d476154163543e865b1fe200cd94288d5dc1)

testsuite/build_farm/basicsmb.fns

index 75c40e8..135a17f 100644 (file)
@@ -75,7 +75,7 @@ test_smbpasswd() {
        test_smbpasswd_password="$1"
        rm -f $prefix/private/smbpasswd
        echo "( echo $test_smbpasswd_password ; echo $test_smbpasswd_password; ) | $prefix/bin/smbpasswd -L -s -a $whoami"
-       ( echo $password ; echo $password; ) | $prefix/bin/smbpasswd -L -s -a $whoami
+       ( echo $test_smbpasswd_password; echo $test_smbpasswd_password; ) | $prefix/bin/smbpasswd -L -s -a $whoami
        status=$?
        if [ $status = 0 ]; then
            echo "smbpasswd correctly set initial password ($test_smbpasswd_password)"