From 5d15bb68f7b6b3e25be286ddf7a615553a173b8f Mon Sep 17 00:00:00 2001 From: Xavier Chantry Date: Sun, 19 Jul 2009 19:49:59 +0200 Subject: Do not create .pacsave with -R, if the file is unchanged This fixes FS#15546 Also fix the interface of unlink_file which was really stupid.. (alpm_list_t used with only one element) Signed-off-by: Xavier Chantry Signed-off-by: Dan McGee --- pactest/tests/remove010.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pactest/tests') diff --git a/pactest/tests/remove010.py b/pactest/tests/remove010.py index f818f5b3..dbdc47e7 100644 --- a/pactest/tests/remove010.py +++ b/pactest/tests/remove010.py @@ -1,4 +1,4 @@ -self.description = "Remove a package with a file marked for backup" +self.description = "Remove a package with an unchanged file marked for backup" p1 = pmpkg("dummy") p1.files = ["etc/dummy.conf"] @@ -10,4 +10,4 @@ self.args = "-R %s" % p1.name self.addrule("PACMAN_RETCODE=0") self.addrule("!PKG_EXIST=dummy") self.addrule("!FILE_EXIST=etc/dummy.conf") -self.addrule("FILE_PACSAVE=etc/dummy.conf") +self.addrule("!FILE_PACSAVE=etc/dummy.conf") -- cgit v1.2.3-70-g09d2