summaryrefslogtreecommitdiffstats
path: root/pym/portage/tests/lafilefixer
diff options
context:
space:
mode:
authorSebastian Luther <SebastianLuther@gmx.de>2010-07-18 07:39:39 +0200
committerZac Medico <zmedico@gentoo.org>2010-07-18 06:49:21 -0700
commit07f5975c5916b843fd5a1e6d227000bbb09201ca (patch)
treeee94a12008315346864d564a1945dbeb6553a8d0 /pym/portage/tests/lafilefixer
parentb711fb64692d5051f2a6061caba1a5cf9094e581 (diff)
downloadportage-07f5975c5916b843fd5a1e6d227000bbb09201ca.tar.gz
portage-07f5975c5916b843fd5a1e6d227000bbb09201ca.tar.bz2
portage-07f5975c5916b843fd5a1e6d227000bbb09201ca.zip
lafilefixing: Use .replace() instead of the broken regex to update the contents
Diffstat (limited to 'pym/portage/tests/lafilefixer')
-rw-r--r--pym/portage/tests/lafilefixer/test_lafilefixer.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/pym/portage/tests/lafilefixer/test_lafilefixer.py b/pym/portage/tests/lafilefixer/test_lafilefixer.py
index 71ed31b64..0bcffaada 100644
--- a/pym/portage/tests/lafilefixer/test_lafilefixer.py
+++ b/pym/portage/tests/lafilefixer/test_lafilefixer.py
@@ -85,6 +85,17 @@ class test_lafilefixer(TestCase):
b"dependency_libs=' -L/usr/lib'\n"
yield b"dependency_libs=' -L/usr/lib/pkgconfig/../.. -L/usr/lib/pkgconfig/..'\n", \
b"dependency_libs=' -L/usr -L/usr/lib'\n"
+ #we once got a backtrace on this one
+ yield b"dependency_libs=' /usr/lib64/libMagickCore.la -L/usr/lib64 -llcms2 /usr/lib64/libtiff.la " + \
+ b"-ljbig -lc /usr/lib64/libfreetype.la /usr/lib64/libjpeg.la /usr/lib64/libXext.la " + \
+ b"/usr/lib64/libXt.la /usr/lib64/libSM.la -lICE -luuid /usr/lib64/libICE.la /usr/lib64/libX11.la " + \
+ b"/usr/lib64/libxcb.la /usr/lib64/libXau.la /usr/lib64/libXdmcp.la -lbz2 -lz -lm " + \
+ b"/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.4/libgomp.la -lrt -lpthread /usr/lib64/libltdl.la -ldl " + \
+ b"/usr/lib64/libfpx.la -lstdc++'", \
+ b"dependency_libs=' -L/usr/lib64 -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.4 -lMagickCore -llcms2 " + \
+ b"-ltiff -ljbig -lc -lfreetype -ljpeg -lXext -lXt -lSM -lICE -luuid -lX11 -lxcb -lXau -lXdmcp " + \
+ b"-lbz2 -lz -lm -lgomp -lrt -lpthread -lltdl -ldl -lfpx -lstdc++'"
+
def get_test_cases_broken(self):
yield b""