summaryrefslogtreecommitdiff
path: root/test/sd_notify_test.erl
diff options
context:
space:
mode:
Diffstat (limited to 'test/sd_notify_test.erl')
-rw-r--r--test/sd_notify_test.erl8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/sd_notify_test.erl b/test/sd_notify_test.erl
index 09d74ee..32a8ac6 100644
--- a/test/sd_notify_test.erl
+++ b/test/sd_notify_test.erl
@@ -2,7 +2,11 @@
-include_lib("eunit/include/eunit.hrl").
+
sd_notify_test_() ->
+ sd_notify_test_local(erlang:system_info(otp_release)).
+
+sd_notify_test_local("19") ->
{ok, CWD} = file:get_cwd(),
FakeNotifyUnixSockName = CWD ++ "/fake-notify-udp-sock-" ++ integer_to_list(erlang:phash2(make_ref())),
TestMessage = integer_to_list(erlang:phash2(make_ref())),
@@ -24,4 +28,6 @@ sd_notify_test_() ->
]
- }.
+ };
+sd_notify_test_local(_) ->
+ [].