summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-05-16 18:50:13 +0200
committerDan McGee <dan@archlinux.org>2011-05-16 18:50:13 +0200
commitaec60e37822509a1ca7fc53244878d3f1505d964 (patch)
treeff346bb35e239e2a957c0b9ce27ded2a14f34c60 /test
parent93f02f5793ad7907aa0bc7c4a9fe64f0c7ce86f6 (diff)
downloadpacman-aec60e37822509a1ca7fc53244878d3f1505d964.tar.gz
pacman-aec60e37822509a1ca7fc53244878d3f1505d964.tar.xz
Fix segfault when uninstalling broken backed-up symlink
Issue FS#24230. If a symlink is broken and included in the removal process of a package, we blew up and segfaulted due to alpm_compute_md5sum() returning NULL and then performing a strcmp() operation. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'test')
-rw-r--r--test/pacman/tests/symlink002.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/pacman/tests/symlink002.py b/test/pacman/tests/symlink002.py
index 7dcafb0d..6b7423d9 100644
--- a/test/pacman/tests/symlink002.py
+++ b/test/pacman/tests/symlink002.py
@@ -41,5 +41,3 @@ self.addrule("!FILE_EXIST=etc/nonexistent")
self.addrule("FILE_EXIST=etc/exists3")
self.addrule("FILE_TYPE=etc/brokenlink3|link")
self.addrule("FILE_TYPE=etc/exists3|file")
-
-self.expectfailure = True