From 11c8eca9a62a8351aff7e6312b8f0cde63d69d4f Mon Sep 17 00:00:00 2001 From: Andrew Gregory Date: Sat, 4 Nov 2023 10:19:35 +1000 Subject: [PATCH] pactest: test database downloads with optional signatures Signed-off-by: Allan McRae --- .../tests/database-refresh-optional-siglevel.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 test/pacman/tests/database-refresh-optional-siglevel.py diff --git a/test/pacman/tests/database-refresh-optional-siglevel.py b/test/pacman/tests/database-refresh-optional-siglevel.py new file mode 100644 index 00000000..19925b5b --- /dev/null +++ b/test/pacman/tests/database-refresh-optional-siglevel.py @@ -0,0 +1,11 @@ +self.description = "refresh databases with Optional siglevel" +self.require_capability("curl") + +p1 = pmpkg('pkg1', '1.0-1') +self.addpkg2db('sync', p1) + +self.db['sync'].option['SigLevel'] = ["Optional"] + +self.args = '-Syy' + +self.addrule("PACMAN_RETCODE=0")