summaryrefslogtreecommitdiffstats
path: root/tests/test-subr.sh
diff options
context:
space:
mode:
authorRoland McGrath <[email protected]>2012-02-21 12:51:36 -0800
committerRoland McGrath <[email protected]>2012-02-21 12:51:36 -0800
commitc1c6a9d482822f3da8043b8203c4b69bffbf2b46 (patch)
tree65cc9c2ae2639cf0fd06346dc4bb79d922a446a1 /tests/test-subr.sh
parente3b15685566f6ddcad47c820e77737c2c3c851e4 (diff)
test-subr.sh: Add ${libdir}/elfutils to LD_LIBRARY_PATH.
Diffstat (limited to 'tests/test-subr.sh')
-rw-r--r--tests/test-subr.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/test-subr.sh b/tests/test-subr.sh
index cb34b93b..fb7a329d 100644
--- a/tests/test-subr.sh
+++ b/tests/test-subr.sh
@@ -1,5 +1,5 @@
#! /bin/sh
-# Copyright (C) 2005, 2007, 2008 Red Hat, Inc.
+# Copyright (C) 2005-2012 Red Hat, Inc.
# This file is part of Red Hat elfutils.
#
# Red Hat elfutils is free software; you can redistribute it and/or modify
@@ -99,7 +99,8 @@ installed_testrun()
;;
esac
if [ "${libdir}" != /usr/lib ] && [ "${libdir}" != /usr/lib64 ]; then
- LD_LIBRARY_PATH="${libdir}${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH" \
+ LD_LIBRARY_PATH="${libdir}:${libdir}/elfutils\
+${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH" \
$program ${1+"$@"}
else
$program ${1+"$@"}