summaryrefslogtreecommitdiffstats
path: root/pactest/tests
diff options
context:
space:
mode:
authorNagy Gabor <ngaba@bibl.u-szeged.hu>2009-09-01 00:25:56 +0200
committerDan McGee <dan@archlinux.org>2009-09-09 05:18:13 +0200
commit19e07eb8e84dd117061a600abdd9c8fed7391a07 (patch)
tree43312a82c39f7feaf37b80f8650605b6787a4ed4 /pactest/tests
parent8ff3b87066d35d3518a3cd0bef27b86c3a85e983 (diff)
downloadpacman-19e07eb8e84dd117061a600abdd9c8fed7391a07.tar.gz
pacman-19e07eb8e84dd117061a600abdd9c8fed7391a07.tar.xz
Re-enable REMOVE_PKGS test in pactest suite
With the help of --ask switch it is possible to test remove_unresolvable feature, so I reverted the change of commit f2061c5f on ignore005.py with --ask=32 added. Signed-off-by: Nagy Gabor <ngaba@bibl.u-szeged.hu> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'pactest/tests')
-rw-r--r--pactest/tests/ignore005.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/pactest/tests/ignore005.py b/pactest/tests/ignore005.py
index c1a52e66..274e44c3 100644
--- a/pactest/tests/ignore005.py
+++ b/pactest/tests/ignore005.py
@@ -36,11 +36,11 @@ self.addpkg2db("sync", packageA5up)
self.option["IgnorePkg"] = ["packageA3"]
-self.args = "-S packageA1 packageA2"
+self.args = "-S packageA1 packageA2 --ask=32"
-self.addrule("PACMAN_RETCODE=1")
+self.addrule("PACMAN_RETCODE=0")
self.addrule("PKG_VERSION=packageA1|1.0-1")
-self.addrule("PKG_VERSION=packageA2|1.0-1")
+self.addrule("PKG_VERSION=packageA2|2.0-1")
self.addrule("PKG_VERSION=packageA3|1.0-1")
-self.addrule("PKG_VERSION=packageA4|1.0-1")
-self.addrule("PKG_VERSION=packageA5|1.0-1")
+self.addrule("PKG_VERSION=packageA4|2.0-1")
+self.addrule("PKG_VERSION=packageA5|2.0-1")