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
|
#endif
|
||||||
|
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
if (do_bonjour > 0)
|
if (!testing_flag && do_bonjour > 0)
|
||||||
bonjour_kid(context, config, argv0, NULL);
|
bonjour_kid(context, config, argv0, NULL);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -1198,7 +1198,7 @@ start_kdc(krb5_context context,
|
|||||||
#ifdef HAVE_FORK
|
#ifdef HAVE_FORK
|
||||||
|
|
||||||
# ifdef __APPLE__
|
# ifdef __APPLE__
|
||||||
if (do_bonjour < 0)
|
if (!testing_flag && do_bonjour < 0)
|
||||||
bonjour_kid(context, config, argv0, islive);
|
bonjour_kid(context, config, argv0, islive);
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user