kdc: Do not announce via Bonjour when testing
Let's see if this fixes the GitHub Actions OS X CI.
This commit is contained in:
@@ -1163,7 +1163,7 @@ start_kdc(krb5_context context,
|
||||
#endif
|
||||
|
||||
#ifdef __APPLE__
|
||||
if (do_bonjour > 0)
|
||||
if (!testing_flag && do_bonjour > 0)
|
||||
bonjour_kid(context, config, argv0, NULL);
|
||||
#endif
|
||||
|
||||
@@ -1198,7 +1198,7 @@ start_kdc(krb5_context context,
|
||||
#ifdef HAVE_FORK
|
||||
|
||||
# ifdef __APPLE__
|
||||
if (do_bonjour < 0)
|
||||
if (!testing_flag && do_bonjour < 0)
|
||||
bonjour_kid(context, config, argv0, islive);
|
||||
# endif
|
||||
|
||||
|
Reference in New Issue
Block a user