summaryrefslogtreecommitdiff
path: root/test/pacman/tests/remove-directory-replaced-with-symlink.py
Commit message (Collapse)AuthorAge
* unlink_file: strip trailing slashesAndrew Gregory2017-04-16
If the user replaces a directory with a symlink, libalpm would get confused because the trailing slash causes system calls to resolve the symlink. This leads to errors and a misleading message during upgrades. Even though libalpm does not support this, it should not be giving misleading errors. Also adds an overflow check. Fixes FS#51377 Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>