diff options
author | Dan McGee <dan@archlinux.org> | 2007-02-23 07:50:42 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-02-23 07:50:42 +0100 |
commit | d9bd24c968436f05838614b9069ef4f29645b74a (patch) | |
tree | 6b3cfe527f1626f86a778a1f328f4eede93f5c2b /pactest/tests/upgrade040.py | |
parent | 2f32a02f9dae2f8a6a28af9da773c2ac9dc27f67 (diff) | |
download | pacman-d9bd24c968436f05838614b9069ef4f29645b74a.tar.gz pacman-d9bd24c968436f05838614b9069ef4f29645b74a.tar.xz |
* Changes to quite a few of the tests, mostly minimal changes (better
descriptions, additional rules, etc)
* One new pactest test regarding file migration between packages.
* Fix of a little output bug in pmenv.py
Diffstat (limited to 'pactest/tests/upgrade040.py')
-rw-r--r-- | pactest/tests/upgrade040.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pactest/tests/upgrade040.py b/pactest/tests/upgrade040.py index 6946882e..bc40f337 100644 --- a/pactest/tests/upgrade040.py +++ b/pactest/tests/upgrade040.py @@ -1,4 +1,4 @@ -self.description = "file relocation 1" +self.description = "File relocation between two packages" lp1 = pmpkg("dummy") lp1.files = ["bin/dummy", @@ -23,3 +23,8 @@ for p in p1, p2: self.args = "-U %s" % " ".join([p.filename() for p in p1, p2]) self.addrule("PACMAN_RETCODE=0") +for p in p1, p2: + self.addrule("PKG_EXIST=%s" % p.name) +self.addrule("FILE_MODIFIED=bin/dummy") +self.addrule("FILE_MODIFIED=bin/foobar") +self.addrule("FILE_MODIFIED=usr/share/file") |