diff options
Diffstat (limited to 'pactest/tests/add041.py')
-rw-r--r-- | pactest/tests/add041.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/pactest/tests/add041.py b/pactest/tests/add041.py new file mode 100644 index 00000000..af3ffe46 --- /dev/null +++ b/pactest/tests/add041.py @@ -0,0 +1,15 @@ +self.description = "Install a package with a missing dependency (nodeps)" + +p = pmpkg("dummy") +p.files = ["bin/dummy", + "usr/man/man1/dummy.1"] +p.depends = ["dep1"] +self.addpkg(p) + +self.args = "-Ad %s" % p.filename() + +self.addrule("PACMAN_RETCODE=0") +self.addrule("PKG_EXIST=dummy") +self.addrule("PKG_DEPENDS=dummy|dep1") +for f in p.files: + self.addrule("FILE_EXIST=%s" % f) |