summaryrefslogtreecommitdiff
path: root/test/pacman
diff options
context:
space:
mode:
authorAndrew Gregory <andrew.gregory.8@gmail.com>2014-04-26 19:22:25 -0400
committerAllan McRae <allan@archlinux.org>2014-05-04 16:16:06 +1000
commit80d3709e65e9ee778f6a26235516b990290b49e0 (patch)
treede997e6b664e95e692b3c5582c7906d02dbd182a /test/pacman
parentdd694f433b0848a04ae72e771086b1bcd8b9a4e9 (diff)
pmdb.py: change siglevel name to Required
"Always" is not a valid siglevel. sign002.py was succeeding because pacman failed to parse the resulting config file rather than a failed signature check. Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'test/pacman')
-rw-r--r--test/pacman/pmdb.py2
-rw-r--r--test/pacman/tests/sign002.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/pacman/pmdb.py b/test/pacman/pmdb.py
index 1d9d7359..a6cf78fc 100644
--- a/test/pacman/pmdb.py
+++ b/test/pacman/pmdb.py
@@ -69,7 +69,7 @@ class pmdb(object):
return "%s" % self.treename
def getverify(self):
- for value in ("Always", "Never", "Optional"):
+ for value in ("Required", "Never", "Optional"):
if value in self.treename:
return value
return "Never"
diff --git a/test/pacman/tests/sign002.py b/test/pacman/tests/sign002.py
index b55f331e..58c44412 100644
--- a/test/pacman/tests/sign002.py
+++ b/test/pacman/tests/sign002.py
@@ -2,7 +2,7 @@ self.description = "Verify a signature in a sync DB (failure)"
sp = pmpkg("pkg1")
sp.pgpsig = "iEYEABECAAYFAkhMOggACgkQXC5GoPU6du2WVQCffVxF8GKXJIY4juJBIw/ljLrQxygAnj2QlvsUd7MdFekLX18+Ov/xzgZ1"
-self.addpkg2db("sync+Always", sp)
+self.addpkg2db("sync+Required", sp)
self.args = "-S %s" % sp.name