diff options
author | Dan McGee <dan@archlinux.org> | 2008-02-07 20:16:16 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-02-07 20:16:16 -0600 |
commit | bfc024eab3a1d26ba37620175be815cb2eb59606 (patch) | |
tree | 96c1c3d89b0e523364b6b000ef02105ebbd0923e /pactest/tests | |
parent | 77c3cf9790472592902183354ea5481cffc01f58 (diff) | |
parent | 14ee1be1ef21e09a84f01dc9623e8513218709d4 (diff) | |
download | pacman-bfc024eab3a1d26ba37620175be815cb2eb59606.tar.xz |
Merge branch 'maint'
Diffstat (limited to 'pactest/tests')
-rw-r--r-- | pactest/tests/upgrade045.py | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/pactest/tests/upgrade045.py b/pactest/tests/upgrade045.py new file mode 100644 index 00000000..b2f81274 --- /dev/null +++ b/pactest/tests/upgrade045.py @@ -0,0 +1,16 @@ +self.description = "FS#9235" + +lp = pmpkg("foo") +lp.files = ["etc/foo.cfg -> etc/foo.cfg"] +lp.backup = ["etc/foo.cfg"] +self.addpkg2db("local", lp) + +p1 = pmpkg("foo", "1.0-2") +p1.files = ["etc/foo.cfg*"] +p1.backup = ["etc/foo.cfg"] +self.addpkg(p1) + +self.args = "-U %s" % p1.filename() + +self.addrule("PKG_VERSION=foo|1.0-2") +self.addrule("FILE_EXIST=etc/foo.cfg") |