Fix XBPS repository verification

This commit is contained in:
xavierk
2026-09-15 19:48:08 +05:30
parent a3e6cc3b3c
commit 9d22525403
3 changed files with 12 additions and 5 deletions
+8
View File
@@ -111,6 +111,14 @@ def test_runit_logger_uses_accounts_shipped_by_package():
assert "chpst -u nobody:fenris" in logger
def test_xbps_publisher_verifies_embedded_repository_signature():
"""Publication verification must match XBPS's repository layout."""
publisher = (REPO_ROOT / "scripts" / "xbps-publish.sh").read_text()
assert '"x86_64-repodata"' in publisher
assert '"x86_64-repodata.sig2"' not in publisher
# ---------------------------------------------------------------------------
# Matrix definitions
# ---------------------------------------------------------------------------