diff options
author | Nagy Gabor <ngaba@bibl.u-szeged.hu> | 2009-07-27 14:21:26 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2009-09-09 04:54:51 +0200 |
commit | 902dfe5900c89461e76f03a3429a867cc93fd418 (patch) | |
tree | 4cbf0b63e740b942dc7c777150011af509bd6a49 /pactest/tests/ignore003.py | |
parent | f53d9bab0ef28f2417abb10d1dff4867bf06b8ea (diff) | |
download | pacman-902dfe5900c89461e76f03a3429a867cc93fd418.tar.gz pacman-902dfe5900c89461e76f03a3429a867cc93fd418.tar.xz |
Change Y/n to y/N with REMOVE_PKGS (remove_unresolvable) callback
The main reason for this change is that scripts could not catch the removed
targets with -S --noconfirm (the return value was 0). So the effect of a
pacman command may have differed from the expected one. Moreover, for my
taste the default no answer is better (I wanted to install the specified
targets, not a subset of them).
I had to change some pactest files as well, because now the default behavior
is not to remove unresolvable targets. In fact, the only pactest file that
tested this feature was ignore005.py.
Signed-off-by: Nagy Gabor <ngaba@bibl.u-szeged.hu>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'pactest/tests/ignore003.py')
-rw-r--r-- | pactest/tests/ignore003.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pactest/tests/ignore003.py b/pactest/tests/ignore003.py index 02b3c91c..8768a6ef 100644 --- a/pactest/tests/ignore003.py +++ b/pactest/tests/ignore003.py @@ -28,7 +28,7 @@ self.addpkg2db("sync", package4up) self.option["IgnorePkg"] = ["package2"] self.args = "-Su" -self.addrule("PACMAN_RETCODE=0") +self.addrule("PACMAN_RETCODE=1") self.addrule("PKG_VERSION=package1|1.0-1") self.addrule("PKG_VERSION=package2|1.0-1") self.addrule("PKG_VERSION=package3|1.0-1") |