diff options
author | Dan McGee <dan@archlinux.org> | 2007-03-21 23:15:50 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-03-21 23:15:50 +0100 |
commit | 3a4030837e0fbb86ab3094f2822adedc8fb9a230 (patch) | |
tree | b74b66840ba612c5181a1fec25231570646f3fdd /pactest/tests | |
parent | 75d6149711d35de76c08519f6ddc6391f7b26ddc (diff) | |
download | pacman-3a4030837e0fbb86ab3094f2822adedc8fb9a230.tar.gz pacman-3a4030837e0fbb86ab3094f2822adedc8fb9a230.tar.xz |
* Updated Italian translation
Giovanni Scafora <linuxmania@gmail.com>
* Added pactest test for -Se operation
James Rosten <seinfeld90@gmail.com>
Diffstat (limited to 'pactest/tests')
-rw-r--r-- | pactest/tests/sync1001.py | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/pactest/tests/sync1001.py b/pactest/tests/sync1001.py new file mode 100644 index 00000000..6c4aabcf --- /dev/null +++ b/pactest/tests/sync1001.py @@ -0,0 +1,18 @@ +self.description = "Test -Se (ensure specified package is not installed)" + +sp1 = pmpkg("dummy") +sp1.depends = [ "dep1", "dep2" ] +self.addpkg2db("sync", sp1) + +sp2 = pmpkg("dep1") +self.addpkg2db("sync", sp2) + +sp3 = pmpkg("dep2") +self.addpkg2db("sync", sp3) + +self.args = "-Se dummy" + +self.addrule("PACMAN_RETCODE=0") +self.addrule("PKG_EXIST=dep1") +self.addrule("PKG_EXIST=dep2") +self.addrule("!PKG_EXIST=dummy") |