From 5377944635137126913370e88be0399bf4a254d0 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 20 Sep 2001 08:28:41 +0000 Subject: 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) --- testsuite/build_farm/basicsmb-hostsequiv.test | 4 +--- testsuite/build_farm/basicsmb.fns | 5 +++-- 2 files changed, 4 insertions(+), 5 deletions(-) (limited to 'testsuite/build_farm') 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 +} -- cgit