From 0c41663c7b5a9d73ea49c20b74149d12f0fcd26c Mon Sep 17 00:00:00 2001 From: Andrew Gregory Date: Sat, 2 Mar 2013 23:26:56 -0500 Subject: update tests for symlink support removal Signed-off-by: Andrew Gregory Signed-off-by: Allan McRae --- test/pacman/tests/sync702.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'test/pacman/tests/sync702.py') diff --git a/test/pacman/tests/sync702.py b/test/pacman/tests/sync702.py index ee4eef95..8f4c0ad7 100644 --- a/test/pacman/tests/sync702.py +++ b/test/pacman/tests/sync702.py @@ -1,4 +1,4 @@ -self.description = "do not remove directory symlink if incoming package has file in its path (order 2)" +self.description = "incoming package replaces symlink with directory (order 2)" lp = pmpkg("pkg2") lp.files = ["usr/lib/foo", @@ -15,8 +15,9 @@ self.addpkg2db("sync", p2) self.args = "-S pkg1 pkg2" -self.addrule("PACMAN_RETCODE=1") -self.addrule("PKG_VERSION=pkg2|1.0-1") -self.addrule("!PKG_EXIST=pkg1") +self.addrule("PACMAN_RETCODE=0") +self.addrule("PKG_VERSION=pkg2|1.0-2") +self.addrule("PKG_EXIST=pkg1") +self.addrule("FILE_TYPE=lib|dir") self.expectfailure = True -- cgit v1.2.3