summaryrefslogtreecommitdiff
path: root/pactest/tests/add040.py
blob: 2bb7f91bed84cbe683fc6c43567d05172701c660 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
self.description = "Install a package with a missing dependency"

p = pmpkg("dummy")
p.files = ["bin/dummy",
           "usr/man/man1/dummy.1"]
p.depends = ["missdep"]
self.addpkg(p)

self.args = "-A %s" % p.filename()

self.addrule("PACMAN_RETCODE=1")
self.addrule("!PKG_EXIST=dummy")
for f in p.files:
        self.addrule("!FILE_EXIST=%s" % f)