summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorLukas Larsson <lukas@erlang.org>2022-01-03 15:05:55 +0100
committerLukas Larsson <lukas@erlang.org>2022-01-21 10:30:25 +0100
commit0e8e4d03ea21082bf7fb64fc08711f951cabb165 (patch)
tree5f4fb5239ba6e2525ea945f90f249087dc23ae1a /lib
parentcf17282453126d7efbd2f99b019fb453ade02d5e (diff)
downloaderlang-0e8e4d03ea21082bf7fb64fc08711f951cabb165.tar.gz
kernel: Allow to clear domain in inet_db api
If we do not allow this, we need to change the inet_res_SUITE testcase so that it knows how to cleanup the domain after running.
Diffstat (limited to 'lib')
-rw-r--r--lib/kernel/test/inet_res_SUITE.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kernel/test/inet_res_SUITE.erl b/lib/kernel/test/inet_res_SUITE.erl
index 0214db00e5..6020f3855c 100644
--- a/lib/kernel/test/inet_res_SUITE.erl
+++ b/lib/kernel/test/inet_res_SUITE.erl
@@ -633,7 +633,7 @@ name_addr_and_cached(Config) when is_list(Config) ->
%% should get identical results from the cache
name_addr(Domain, fun toupper/1)
after
- [inet_db:res_option(Option, Value)
+ [ok = inet_db:res_option(Option, Value)
|| {Option, Value} <- SavedOptions]
end,
?P("done"),