~ubuntu-branches/ubuntu/trusty/eglibc/trusty

« back to all changes in this revision

Viewing changes to elf/tst-pathopt.sh

  • Committer: Package Import Robot
  • Author(s): Adam Conrad
  • Date: 2013-01-10 18:39:35 UTC
  • mfrom: (1.5.2) (4.4.24 experimental)
  • Revision ID: package-import@ubuntu.com-20130110183935-afsgfxkmg7wk5eaj
Tags: 2.17-0ubuntu1
* Merge with Debian, bringing in a new upstream and many small fixes:
  - patches/any/cvs-malloc-deadlock.diff: Dropped, merged upstream.
  - patches/ubuntu/lddebug-scopes.diff: Rebase for upstream changes.
  - patches/ubuntu/local-CVE-2012-3406.diff: Rebased against upstream.
  - patches/ubuntu/no-asm-mtune-i686.diff: Fixed in recent binutils.
* This upstream merge fixes a nasty hang in pulseaudio (LP: #1085342)
* Bump MIN_KERNEL_SUPPORTED to 2.6.32 on ARM, now that we no longer
  have to support shonky 2.6.31 kernels on imx51 babbage builders.
* Drop patches/ubuntu/local-disable-nscd-host-caching.diff, as these
  issues were apparently resolved upstream a while ago (LP: #613662)
* Fix the compiled-in bug URL to point to launchpad.net, not Debian.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Test lookup path optimization.
3
 
# Copyright (C) 2000 Free Software Foundation, Inc.
 
3
# Copyright (C) 2000-2012 Free Software Foundation, Inc.
4
4
# This file is part of the GNU C Library.
5
 
#
6
5
 
7
6
# The GNU C Library is free software; you can redistribute it and/or
8
7
# modify it under the terms of the GNU Lesser General Public
18
17
# License along with the GNU C Library; if not, see
19
18
# <http://www.gnu.org/licenses/>.
20
19
 
 
20
set -e
 
21
 
21
22
common_objpfx=$1
22
 
cross_test_wrapper="$2"
23
 
run_with_env="$3"
 
23
test_wrapper_env=$2
24
24
 
25
25
test -e ${common_objpfx}elf/will-be-empty &&
26
26
  rm -fr ${common_objpfx}elf/will-be-empty
29
29
 
30
30
cp ${common_objpfx}elf/pathoptobj.so ${common_objpfx}elf/for-renamed/renamed.so
31
31
 
 
32
${test_wrapper_env} \
32
33
LOCPATH=${common_objpfx}localedata GCONV_PATH=${common_objpfx}iconvdata \
33
 
LC_ALL=C EGLIBC_TEST_LD_LIBRARY_PATH=${common_objpfx}elf/will-be-empty:${common_objpfx}elf/for-renamed:${common_objpfx}.:${common_objpfx}dlfcn \
34
 
  ${cross_test_wrapper} ${run_with_env} ${common_objpfx}elf/ld.so \
35
 
    ${common_objpfx}elf/tst-pathopt \
 
34
LC_ALL=C LD_LIBRARY_PATH=${common_objpfx}elf/will-be-empty:${common_objpfx}elf/for-renamed:${common_objpfx}.:${common_objpfx}dlfcn \
 
35
  ${common_objpfx}elf/ld.so ${common_objpfx}elf/tst-pathopt \
36
36
    > ${common_objpfx}elf/tst-pathopt.out
37
37
 
38
38
exit $?