pactest: Do not remove symlink to directory if local package uses that path
commitfa2eadcec75e8e54a4bb3cf1f38a07ec71784032
authorAllan McRae <allan@archlinux.org>
Tue, 17 Jul 2012 03:22:08 +0000 (17 13:22 +1000)
committerDan McGee <dan@archlinux.org>
Thu, 2 Aug 2012 14:38:37 +0000 (2 09:38 -0500)
treedbf85fc5dfe112180b91d7fcc7236881e00b60fd
parenteb871553912f5cf4ab3cb8aade73cf2a24dcb82c
pactest: Do not remove symlink to directory if local package uses that path

If we have a symlink to a directory (e.g. /lib -> usr/lib), then
we can not remove it if a local package thinks it has files in the
symlink directory (e.g. /lib/foo), because this will invalidate the
local file database.

Signed-off-by: Allan McRae <allan@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
test/pacman/tests/sync700.py [new file with mode: 0644]