aboutsummaryrefslogtreecommitdiff
path: root/paludis/broken_linkage_configuration_TEST_setup.sh
diff options
context:
space:
mode:
authorAvatar David Leverton <levertond@googlemail.com> 2010-08-19 19:02:43 +0100
committerAvatar David Leverton <levertond@googlemail.com> 2010-08-19 19:03:14 +0100
commit2fc6bfb4f4647a3c513b199c2ee44026665e4f37 (patch)
treee195135d3fb401afd79abd71b5b23f1061e12596 /paludis/broken_linkage_configuration_TEST_setup.sh
parent351364671047b4989ea4bbb6327876818bad2681 (diff)
downloadpaludis-2fc6bfb4f4647a3c513b199c2ee44026665e4f37.tar.gz
paludis-2fc6bfb4f4647a3c513b199c2ee44026665e4f37.tar.xz
Update ld.so.conf parsing, in particular support "include"
Diffstat (limited to 'paludis/broken_linkage_configuration_TEST_setup.sh')
-rwxr-xr-xpaludis/broken_linkage_configuration_TEST_setup.sh20
1 files changed, 19 insertions, 1 deletions
diff --git a/paludis/broken_linkage_configuration_TEST_setup.sh b/paludis/broken_linkage_configuration_TEST_setup.sh
index 96559116c..55c0e46c7 100755
--- a/paludis/broken_linkage_configuration_TEST_setup.sh
+++ b/paludis/broken_linkage_configuration_TEST_setup.sh
@@ -4,7 +4,7 @@
mkdir broken_linkage_configuration_TEST_dir || exit 1
cd broken_linkage_configuration_TEST_dir || exit 1
-mkdir -p etc/revdep-rebuild
+mkdir -p etc/revdep-rebuild etc/ld.so.conf.d ld.so.conf.d
echo 'export PATH="/foobin:/barbin"' >>etc/profile.env
echo 'export ROOTPATH="/bazbin"' >>etc/profile.env
@@ -13,6 +13,24 @@ echo 'export WRATH="/goo"' >>etc/profile.env
echo '/foolib/bar' >>etc/ld.so.conf
echo '/barlib/foo' >>etc/ld.so.conf
echo '#/shoe' >>etc/ld.so.conf
+echo '/meh=hahaha' >>etc/ld.so.conf
+echo 'include ld.so.conf.d/*' >>etc/ld.so.conf
+echo 'include /ld.so.conf.d/*' >>etc/ld.so.conf
+echo 'include ld.so.conf.2' >>etc/ld.so.conf
+
+echo '/qwerty1' >>etc/ld.so.conf.d/qwerty
+echo '/qwerty2' >>etc/ld.so.conf.d/qwerty
+echo '/uiop1' >>etc/ld.so.conf.d/uiop
+echo '/uiop2' >>etc/ld.so.conf.d/uiop
+
+echo '/fhqwhgads1' >>ld.so.conf.d/fhqwhgads
+echo 'hwdep lalala' >>ld.so.conf.d/fhqwhgads
+echo 'HWDEP lalalala' >>ld.so.conf.d/fhqwhgads
+echo 'HwDep lalalalala' >>ld.so.conf.d/fhqwhgads
+echo 'hwdp foobar' >>ld.so.conf.d/fhqwhgads
+echo '/fhqwhgads2' >>ld.so.conf.d/fhqwhgads
+
+echo '/42' >>etc/ld.so.conf.2
echo 'SEARCH_DIRS="/alib /blib"' >>etc/revdep-rebuild/10-test
echo 'SEARCH_DIRS_MASK="/meh -*"' >>etc/revdep-rebuild/10-test