Commit 6ae24428 authored by Christian Kellner's avatar Christian Kellner

test: fix broken "bootacl unsupported" store test

When checking that a NULL bootacl will stay that way if the domain
is stored and get back, the wrong object was checked, resulting
in the test returing OK, when the code was actually broken.
Check the loaded object, not the one that was stored.
parent ef6a1447
......@@ -625,7 +625,7 @@ test_store_domain (TestStore *tt, gconstpointer user_data)
g_assert_no_error (err);
g_assert_nonnull (s1);
g_assert_true (bolt_domain_is_stored (s1));
g_assert_false (bolt_domain_supports_bootacl (d1));
g_assert_false (bolt_domain_supports_bootacl (s1));
g_assert_cmpstr (uid, ==, bolt_domain_get_uid (s1));
bootacl = bolt_domain_get_bootacl (s1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment