summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2001-09-20 08:28:41 +0000
committerAndrew Bartlett <abartlet@samba.org>2001-09-20 08:28:41 +0000
commit4df974527c7dbe88e7cbe9feb8e87f7ce89012b2 (patch)
treebcb7e1bc4c9db2653b52f3ed22334194597d3abc /testsuite
parent5f5b4b48ca78b3981001965058a2b4e796ba815c (diff)
downloadsamba-4df974527c7dbe88e7cbe9feb8e87f7ce89012b2.tar.gz
Fix up the test for some of the quirkier hosts on the farm, and enable one
previously disabled sub-test.
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/build_farm/basicsmb-hostsequiv.test4
-rw-r--r--testsuite/build_farm/basicsmb.fns5
2 files changed, 4 insertions, 5 deletions
diff --git a/testsuite/build_farm/basicsmb-hostsequiv.test b/testsuite/build_farm/basicsmb-hostsequiv.test
index 0df086e910e..d424743d116 100644
--- a/testsuite/build_farm/basicsmb-hostsequiv.test
+++ b/testsuite/build_farm/basicsmb-hostsequiv.test
@@ -23,6 +23,4 @@ security="hostsequiv"
(test_smb_conf_setup ) || exit 1
(test_listfilesauth $security) || exit 1
-# (test_listfilesrootnpw $security) || exit 1
-# Unfortuetly we map to guest, and this is allowed access due to a BUG. This
-# test disabled till we fix it.
+(test_listfilesrootnpw $security) || exit 1
diff --git a/testsuite/build_farm/basicsmb.fns b/testsuite/build_farm/basicsmb.fns
index c38bbe5d184..68411caff79 100644
--- a/testsuite/build_farm/basicsmb.fns
+++ b/testsuite/build_farm/basicsmb.fns
@@ -20,7 +20,8 @@ test_smb_conf_setup() {
echo "127.0.0.6 DOMAIN">>$prefix/lib/lmhosts
echo "127.0.0.7 HOSTSEQUIV">>$prefix/lib/lmhosts
- echo "localhost" > $prefix/lib/hosts.equiv
+ echo $host > $prefix/lib/hosts.equiv
+ echo "localhost" >> $prefix/lib/hosts.equiv
cp basicsmb.smb.conf.share $prefix/lib/smb.conf.share
cp basicsmb.smb.conf.user $prefix/lib/smb.conf.user
@@ -86,4 +87,4 @@ test_listfilesauth_should_deny() {
echo "listing files with smbd failed with status $status (correct)"
fi
return 0
-} \ No newline at end of file
+}