summaryrefslogtreecommitdiff
path: root/testsuite/build_farm/basicsmb.fns
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/build_farm/basicsmb.fns')
-rw-r--r--testsuite/build_farm/basicsmb.fns5
1 files changed, 3 insertions, 2 deletions
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
+}