test-store: disable bad test

The "expected-to-fail" test actually passes when root.
This commit is contained in:
Dirk-Jan C. Binnema
2026-01-03 13:09:13 +02:00
committed by Seth Ladygo
parent ab6ab33df6
commit 341585ad66

View File

@ -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);
// }
}