diff options
author | Oliver Smith <osmith@sysmocom.de> | 2020-01-30 10:12:17 +0100 |
---|---|---|
committer | osmith <osmith@sysmocom.de> | 2020-02-14 11:16:47 +0000 |
commit | 5424dcb87968d86429e1ab97066b886e82443b99 (patch) | |
tree | fd11687c8a59ddf98f9f02bcf5d3c1d60026f5f8 | |
parent | f0e90e6bd5e5b2be17253e357a0521da42dc43aa (diff) |
mslookup_client_mdns_test: no automatic skip
Exit with error code if multicast is disabled. The test is disabled by
default already, so when explicitly enabling it, we should not
automatically skip it.
Related: OS#4385
Change-Id: I82022c23fa9c40535f922b12d917efd7e229912b
-rw-r--r-- | tests/mslookup/mslookup_client_mdns_test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/mslookup/mslookup_client_mdns_test.c b/tests/mslookup/mslookup_client_mdns_test.c index f33ef98..5e558b4 100644 --- a/tests/mslookup/mslookup_client_mdns_test.c +++ b/tests/mslookup/mslookup_client_mdns_test.c @@ -225,8 +225,8 @@ bool is_multicast_enabled() int main() { if (!is_multicast_enabled()) { - fprintf(stderr, "WARNING: multicast is disabled, skipping the test! (OS#4361)"); - return 77; + fprintf(stderr, "ERROR: multicast is disabled! (OS#4361)"); + return 1; } talloc_enable_null_tracking(); |