summary refs log tree commit diff
path: root/scripts/glibcelf.py
diff options
context:
space:
mode:
authorCarlos O'Donell <carlos@redhat.com>2022-12-21 17:21:05 -0500
committerCarlos O'Donell <carlos@redhat.com>2022-12-22 11:08:59 -0500
commit9ffeabdf2e5078d8e8a4158e9b6be2ac2c616220 (patch)
tree86061acbebb232dee5149f3bb0b770d77e0fea13 /scripts/glibcelf.py
parent81a94a2ae34bac9c3d907bbe0468ba56914accb0 (diff)
downloadglibc-9ffeabdf2e5078d8e8a4158e9b6be2ac2c616220.tar.gz
glibc-9ffeabdf2e5078d8e8a4158e9b6be2ac2c616220.tar.xz
glibc-9ffeabdf2e5078d8e8a4158e9b6be2ac2c616220.zip
Simplify scripts/cross-test-ssh.sh configuration.
With modern ssh clients and daemons it is required to use AcceptEnv and
SendEnv configuration options to correctly support testing the DSO sort
ordering tests.  This requirement is present because
scripts/dso-ordering-test.py injects GLIBC_TUNABLES to the left of the
${test_wrapper_env} and so it must both be sent by the ssh client and
accepted by the ssh daemon.  This requirement is removed in this change
and the injected GLIBC_TUNABLES is placed after ${run_program_env} and
so still correctly provides the override that the test requires.
This is similar to existing tests like elf/tst-pathopt.sh,
elf/tst-rtld-load-self.sh, and locale/tst-locale-locpath.sh.

Tested that it fixes two failures when cross-testing on aarch64 with
scripts/cross-test-ssh.sh and an ssh client and daemon that do not pass
GLIBC_TUNABLES. Without this fix such a configuration will report the
following failures (since the GLIBC_TUNABLES not preserved):
FAIL: elf/tst-bz15311
FAIL: elf/tst-bz28937

Tested without regression on native x86_64 and aarch64 builds.

Reviewed-by: Florian Weimer <fweimer@redhat.com>
Diffstat (limited to 'scripts/glibcelf.py')
0 files changed, 0 insertions, 0 deletions