index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2011-02-25 07:55:16 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-02-25 07:55:16 -0600 |
commit | 2f96764058b89ff32c928a736308c5095f1ff764 (patch) | |
tree | b85aa9d1b41b62d38f0ac8aba87bdbcd806d9375 /test | |
parent | d4d304cdb7b59e3b5ab7d5825404593a3476f127 (diff) |
-rw-r--r-- | test/pacman/tests/upgrade077.py | 17 |
diff --git a/test/pacman/tests/upgrade077.py b/test/pacman/tests/upgrade077.py new file mode 100644 index 00000000..c1d7a54c --- /dev/null +++ b/test/pacman/tests/upgrade077.py @@ -0,0 +1,17 @@ +self.description = "Install a package with multiple missing dependencies" + +p = pmpkg("dummy") +p.files = ["bin/dummy", + "usr/man/man1/dummy.1"] +p.depends = ["dep1", "dep2", "dep3"] +self.addpkg(p) + +p2 = pmpkg("dep2") +self.addpkg(p2) + +self.args = "-U %s %s" % (p.filename(), p2.filename()) + +self.addrule("PACMAN_RETCODE=1") +self.addrule("!PKG_EXIST=dummy") +for f in p.files: + self.addrule("!FILE_EXIST=%s" % f) |