summaryrefslogtreecommitdiffstats
path: root/pactest/tests/upgrade070.py
diff options
context:
space:
mode:
authorChantry Xavier <shiningxc@gmail.com>2008-03-13 16:36:44 +0100
committerDan McGee <dan@archlinux.org>2008-03-18 02:58:28 +0100
commitb3e6cf652c9e989badaf5499abb1d64c1a110927 (patch)
tree850b1c05d910c2f1fec65e19ebc87fbf9eb2f246 /pactest/tests/upgrade070.py
parentdae3f9deefdb86f726a68dc89a7391e9df7517df (diff)
downloadpacman-b3e6cf652c9e989badaf5499abb1d64c1a110927.tar.gz
pacman-b3e6cf652c9e989badaf5499abb1d64c1a110927.tar.xz
Drop case insensitive comparisons in the config parsing.
These case insensitive comparisons didn't work in some locales, like tr_TR where upper(i) != I. So a second case sensitive comparison had to be made for each directive. Only keeping case sensitive comparisons make the code cleaner and treat all locales equally. Ref: http://www.archlinux.org/pipermail/pacman-dev/2008-March/011445.html Also fix pactests to use the correct case. Signed-off-by: Chantry Xavier <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'pactest/tests/upgrade070.py')
-rw-r--r--pactest/tests/upgrade070.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pactest/tests/upgrade070.py b/pactest/tests/upgrade070.py
index 018a6b10..01f0ba48 100644
--- a/pactest/tests/upgrade070.py
+++ b/pactest/tests/upgrade070.py
@@ -5,7 +5,7 @@ p.files = ["bin/dummy",
"usr/man/man1/dummy.1"]
self.addpkg(p)
-self.option["noextract"] = ["usr/man/man1/dummy.1"]
+self.option["NoExtract"] = ["usr/man/man1/dummy.1"]
self.args = "-U %s" % p.filename()