summaryrefslogtreecommitdiff
path: root/pactest
diff options
context:
space:
mode:
authorChantry Xavier <shiningxc@gmail.com>2008-01-05 13:09:06 +0100
committerDan McGee <dan@archlinux.org>2008-01-05 13:47:49 -0600
commit601a85082d2965174925a85942e9e8a5a0e9f735 (patch)
tree599daa86533b795e3b130bac6f291ee8f03593f7 /pactest
parent04472f925a09e8760946097afc26a492af309d65 (diff)
downloadpacman-601a85082d2965174925a85942e9e8a5a0e9f735.tar.xz
add.c : fix upgrade026 pactest.
This was the case of the bash packaging error where a file was removed from the package but not the backup array. I just added a sanity check so that only the files from the backup array that are also in the filelist are used. I had to edit upgrade026 pactest slightly : it required the file to be copied to .pacsave instead of moved. But just moving it should be enough, as we agreed on the ML : http://www.archlinux.org/pipermail/pacman-dev/2007-December/010440.html Signed-off-by: Chantry Xavier <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'pactest')
-rw-r--r--pactest/tests/upgrade026.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pactest/tests/upgrade026.py b/pactest/tests/upgrade026.py
index 8ad87e3e..8e3ef239 100644
--- a/pactest/tests/upgrade026.py
+++ b/pactest/tests/upgrade026.py
@@ -14,4 +14,4 @@ self.args = "-U %s" % p.filename()
self.addrule("PKG_VERSION=dummy|1.0-2")
self.addrule("FILE_PACSAVE=etc/dummy.conf")
self.addrule("!FILE_PACNEW=etc/dummy.conf")
-self.addrule("FILE_EXIST=etc/dummy.conf")
+self.addrule("!FILE_EXIST=etc/dummy.conf")