summaryrefslogtreecommitdiff
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
commit5377944635137126913370e88be0399bf4a254d0 (patch)
tree432865f331621c198673e8f7130fc3762a7cc5dc
parenta88ed5d1be987af6fe1353a18298d206fbfca4e0 (diff)
downloadsamba-5377944635137126913370e88be0399bf4a254d0.tar.gz
samba-5377944635137126913370e88be0399bf4a254d0.tar.bz2
samba-5377944635137126913370e88be0399bf4a254d0.zip
Fix up the test for some of the quirkier hosts on the farm, and enable one
previously disabled sub-test. (This used to be commit 4df974527c7dbe88e7cbe9feb8e87f7ce89012b2)
-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 0df086e910..d424743d11 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 c38bbe5d18..68411caff7 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
+}