From 19e07eb8e84dd117061a600abdd9c8fed7391a07 Mon Sep 17 00:00:00 2001 From: Nagy Gabor Date: Tue, 1 Sep 2009 00:25:56 +0200 Subject: [PATCH] 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 Signed-off-by: Dan McGee --- pactest/tests/ignore005.py | 10 +++++----- 1 file 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")