mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-25 08:21:05 -06:00
ipa_kdb_tests: Fix test with default krb5.conf
Default krb5.conf needn't have defined default_realm. Unit tests should not rely on existing default value. Reviewed-By: Martin Basti <mbasti@redhat.com>
This commit is contained in:
parent
75c26f9ec8
commit
73058af717
@ -82,6 +82,10 @@ static int setup(void **state)
|
||||
|
||||
kerr = krb5_init_context(&krb5_ctx);
|
||||
assert_int_equal(kerr, 0);
|
||||
|
||||
kerr = krb5_set_default_realm(krb5_ctx, "EXAMPLE.COM");
|
||||
assert_int_equal(kerr, 0);
|
||||
|
||||
kerr = krb5_db_setup_lib_handle(krb5_ctx);
|
||||
assert_int_equal(kerr, 0);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user