From af77a56bdd83ce0bd625eceefd8fcd54cd6f34c6 Mon Sep 17 00:00:00 2001 From: "Dirk-Jan C. Binnema" Date: Sat, 3 Jan 2026 13:09:13 +0200 Subject: test-store: disable bad test The "expected-to-fail" test actually passes when root. --- lib/tests/test-mu-store.cc | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/lib/tests/test-mu-store.cc b/lib/tests/test-mu-store.cc index 6e3ac7f..5307aa5 100644 --- a/lib/tests/test-mu-store.cc +++ b/lib/tests/test-mu-store.cc @@ -635,11 +635,12 @@ test_store_fail() g_assert_false(!!store); } - { - const auto store = Store::make_new("/../../root/non-existent-path/12345", - "/../../root/non-existent-path/54321"); - g_assert_false(!!store); - } + // Note: below works if you are have root-perms. + // { + // const auto store = Store::make_new("/../../root/non-existent-path/12345", + // "/../../root/non-existent-path/54321"); + // g_assert_false(!!store); + // } } -- cgit v1.0