diff options
author | Joseph Myers <joseph@codesourcery.com> | 2012-10-24 21:59:01 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2012-10-24 21:59:01 +0000 |
commit | cc1290d07e9bb5662642846c50c97c853d1827b5 (patch) | |
tree | 3b302e5ce4233344fe3ca28909bcd09fb335e1e6 /elf/tst-pathopt.sh | |
parent | BZ#14743: Move clock_* symbols from librt to libc. (diff) | |
download | glibc-cc1290d07e9bb5662642846c50c97c853d1827b5.tar.gz glibc-cc1290d07e9bb5662642846c50c97c853d1827b5.tar.bz2 glibc-cc1290d07e9bb5662642846c50c97c853d1827b5.zip |
Support cross-testing.
Diffstat (limited to 'elf/tst-pathopt.sh')
-rwxr-xr-x | elf/tst-pathopt.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/elf/tst-pathopt.sh b/elf/tst-pathopt.sh index 048c612645..2f8bfc689a 100755 --- a/elf/tst-pathopt.sh +++ b/elf/tst-pathopt.sh @@ -20,7 +20,7 @@ set -e common_objpfx=$1 -run_program_prefix=$2 +test_wrapper_env=$2 test -e ${common_objpfx}elf/will-be-empty && rm -fr ${common_objpfx}elf/will-be-empty @@ -29,6 +29,7 @@ test -d ${common_objpfx}elf/for-renamed || cp ${common_objpfx}elf/pathoptobj.so ${common_objpfx}elf/for-renamed/renamed.so +${test_wrapper_env} \ LOCPATH=${common_objpfx}localedata GCONV_PATH=${common_objpfx}iconvdata \ LC_ALL=C LD_LIBRARY_PATH=${common_objpfx}elf/will-be-empty:${common_objpfx}elf/for-renamed:${common_objpfx}.:${common_objpfx}dlfcn \ ${common_objpfx}elf/ld.so ${common_objpfx}elf/tst-pathopt \ |