diff options
author | Raimo Niskanen <[email protected]> | 2016-06-07 14:41:35 +0200 |
---|---|---|
committer | Raimo Niskanen <[email protected]> | 2016-06-07 14:41:35 +0200 |
commit | ce9aa5ad1737ca1583e0c8bd6abea3099016a4a1 (patch) | |
tree | 633bc820a83a2cfca414e5d10c9c24cf85cdf30e /lib/kernel/test/inet_res_SUITE.erl | |
parent | 93b2bca601894b09b914af6ffad8d8edfbe90e37 (diff) | |
parent | 1a7d3022a059c59cfc448dd206569c340909b765 (diff) | |
download | otp-ce9aa5ad1737ca1583e0c8bd6abea3099016a4a1.tar.gz otp-ce9aa5ad1737ca1583e0c8bd6abea3099016a4a1.tar.bz2 otp-ce9aa5ad1737ca1583e0c8bd6abea3099016a4a1.zip |
Merge branch 'raimo/kernel/test-cuddling'
* raimo/kernel/test-cuddling:
Explain how to make inet_res_SUITE not skip
gethostbyname, gethostbyaddr
Diffstat (limited to 'lib/kernel/test/inet_res_SUITE.erl')
-rw-r--r-- | lib/kernel/test/inet_res_SUITE.erl | 15 |
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}}]. |