Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/pactest/tests/upgrade040.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-02-23 06:50:42 +0000
committerDan McGee <dan@archlinux.org>2007-02-23 06:50:42 +0000
commitd9bd24c968436f05838614b9069ef4f29645b74a (patch)
tree6b3cfe527f1626f86a778a1f328f4eede93f5c2b /pactest/tests/upgrade040.py
parent2f32a02f9dae2f8a6a28af9da773c2ac9dc27f67 (diff)
* 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.py7
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")