aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-08-06 16:13:00 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-08-06 16:13:00 +0000
commit8a2b5d82810efce968cc44c8909a2b968aedadc8 (patch)
treedf414aa17695c2e90a599eec36aee225d583d399
parenteac5dc5d5f9cf4308ae094b8fd43c121cebae368 (diff)
downloadpaludis-8a2b5d82810efce968cc44c8909a2b968aedadc8.tar.gz
paludis-8a2b5d82810efce968cc44c8909a2b968aedadc8.tar.xz
BSD support
-rwxr-xr-xhooks/eselect_env_update_TEST5
1 files changed, 3 insertions, 2 deletions
diff --git a/hooks/eselect_env_update_TEST b/hooks/eselect_env_update_TEST
index 8a03f7f..ced20bb 100755
--- a/hooks/eselect_env_update_TEST
+++ b/hooks/eselect_env_update_TEST
@@ -20,11 +20,12 @@ eselect_env_update_TEST()
{
export ROOT=`pwd`/eselect_env_update_TEST_dir
export PALUDIS_LIVE_DESTINATION=
- mkdir -p eselect_env_update_TEST_dir/{etc,lib}
+ mkdir -p eselect_env_update_TEST_dir/{etc,lib,var/run}
touch eselect_env_update_TEST_dir/etc/ld.so.conf
./eselect_env_update.bash >/dev/null ; test_return_code
- [[ -f eselect_env_update_TEST_dir/etc/ld.so.cache ]] ; test_return_code
+ [[ -f eselect_env_update_TEST_dir/etc/ld.so.cache ]] \
+ || [[ -f eselect_env_update_TEST/var/run/ld-elf.so.hints ]] ; test_return_code
}