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
This commit is contained in:
Oliver Smith 2020-01-30 10:12:17 +01:00 committed by osmith
parent f0e90e6bd5
commit 5424dcb879
1 changed files with 2 additions and 2 deletions

View File

@ -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();