aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/test/inet_res_SUITE.erl
diff options
context:
space:
mode:
authorRaimo Niskanen <[email protected]>2016-06-03 16:21:45 +0200
committerRaimo Niskanen <[email protected]>2016-06-03 16:21:45 +0200
commit1a7d3022a059c59cfc448dd206569c340909b765 (patch)
tree1c65241e33d9108dcb20b3d2dea6a02b22681e67 /lib/kernel/test/inet_res_SUITE.erl
parent455f84ac02e3ff8a4da3799251a4e9b03fd6a5c7 (diff)
downloadotp-1a7d3022a059c59cfc448dd206569c340909b765.tar.gz
otp-1a7d3022a059c59cfc448dd206569c340909b765.tar.bz2
otp-1a7d3022a059c59cfc448dd206569c340909b765.zip
Explain how to make inet_res_SUITE not skip
Diffstat (limited to 'lib/kernel/test/inet_res_SUITE.erl')
-rw-r--r--lib/kernel/test/inet_res_SUITE.erl15
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/kernel/test/inet_res_SUITE.erl b/lib/kernel/test/inet_res_SUITE.erl
index 9662d1fef5..6691ad9c06 100644
--- a/lib/kernel/test/inet_res_SUITE.erl
+++ b/lib/kernel/test/inet_res_SUITE.erl
@@ -42,6 +42,21 @@
-define(RUN_NAMED, "run-named").
+%% This test suite use a script ?RUN_NAMED that tries to start
+%% a temporary local nameserver BIND 8 or 9 that must be installed
+%% on your machine.
+%%
+%% For example, on Ubuntu 14.04, as root:
+%% apt-get install bind9
+%% Now, that is not enough since Apparmor will not allow
+%% the nameserver daemon /usr/sbin/named to read from the test directory.
+%% Assuming that you run tests in /ldisk/daily_build, and still on
+%% Ubuntu 14.04, make /usr/apparmor.d/local/usr.sbin.named contain:
+%% /ldisk/daily_build/** r,
+%% And yes; the trailing comma must be there...
+
+
+
suite() ->
[{ct_hooks,[ts_install_cth]},
{timetrap,{minutes,1}}].