about summary refs log tree commit diff
path: root/posix/globtest.sh
diff options
context:
space:
mode:
Diffstat (limited to 'posix/globtest.sh')
-rwxr-xr-xposix/globtest.sh11
1 files changed, 10 insertions, 1 deletions
diff --git a/posix/globtest.sh b/posix/globtest.sh
index 806b481c7e..4a009cc92b 100755
--- a/posix/globtest.sh
+++ b/posix/globtest.sh
@@ -4,8 +4,17 @@ common_objpfx=$1; shift
 elf_objpfx=$1; shift
 rtld_installed_name=$1; shift
 
+# We have to make the paths `common_objpfx' absolute.
+case "$common_objpfx" in
+  .*)
+    common_objpfx="`pwd`/$common_objpfx"
+    ;;
+  *)
+    ;;
+esac
+
 # We have to find the libc and the NSS modules.
-library_path=${common_objpfx}:${common_objpfx}nss:${common_objpfx}nis
+library_path=${common_objpfx}:${common_objpfx}nss:${common_objpfx}nis:${common_objpfx}db2:${common_objpfx}hesiod
 
 # Since we use `sort' we must make sure to use the same locale everywhere.
 LC_ALL=C