summaryrefslogtreecommitdiff
path: root/testsuite/build_farm/basicsmb.fns
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2002-03-01 01:41:27 +0000
committerAndrew Bartlett <abartlet@samba.org>2002-03-01 01:41:27 +0000
commit8064c56f59d2709db0bfbbbbf319192a7f7e479d (patch)
tree31df362adf9a4afa513bed3ecb85d55edf750912 /testsuite/build_farm/basicsmb.fns
parentd79e11ad6d4be78a4140d0f33acea702cbd1d944 (diff)
downloadsamba-8064c56f59d2709db0bfbbbbf319192a7f7e479d.tar.gz
See if we can get a slight chance of this actually working...
(This used to be commit f1eb782eeeaca6efc0f89713ca449a379272eaad)
Diffstat (limited to 'testsuite/build_farm/basicsmb.fns')
-rw-r--r--testsuite/build_farm/basicsmb.fns12
1 files changed, 6 insertions, 6 deletions
diff --git a/testsuite/build_farm/basicsmb.fns b/testsuite/build_farm/basicsmb.fns
index d996a5d775e..75c40e879e4 100644
--- a/testsuite/build_farm/basicsmb.fns
+++ b/testsuite/build_farm/basicsmb.fns
@@ -87,15 +87,15 @@ test_smbpasswd() {
}
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
- 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
- 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