#!/bin/sh
# Test driver for tst-dso-ordering9, generated by dso-ordering-test.py
common_objpfx=$1
test_wrapper_env=$2
run_program_env=$3
something_failed=false
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_1-abcde > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_1-abcde-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_1-abcde(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_1-abcde-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_1-abcde(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_1-abcde > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_1-abcde-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_1-abcde(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_1-abcde-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_1-abcde(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_2-abced > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_2-abced-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_2-abced(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_2-abced-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_2-abced(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_2-abced > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_2-abced-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_2-abced(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_2-abced-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_2-abced(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_3-abdce > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_3-abdce-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_3-abdce(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_3-abdce-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_3-abdce(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_3-abdce > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_3-abdce-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_3-abdce(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_3-abdce-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_3-abdce(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_4-abdec > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_4-abdec-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_4-abdec(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_4-abdec-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_4-abdec(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_4-abdec > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_4-abdec-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_4-abdec(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_4-abdec-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_4-abdec(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_5-abecd > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_5-abecd-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_5-abecd(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_5-abecd-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_5-abecd(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_5-abecd > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_5-abecd-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_5-abecd(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_5-abecd-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_5-abecd(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_6-abedc > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_6-abedc-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_6-abedc(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_6-abedc-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_6-abedc(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_6-abedc > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_6-abedc-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_6-abedc(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_6-abedc-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_6-abedc(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_7-acbde > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_7-acbde-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_7-acbde(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_7-acbde-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_7-acbde(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_7-acbde > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_7-acbde-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_7-acbde(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_7-acbde-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_7-acbde(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_8-acbed > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_8-acbed-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_8-acbed(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_8-acbed-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_8-acbed(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_8-acbed > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_8-acbed-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_8-acbed(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_8-acbed-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_8-acbed(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_9-acdbe > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_9-acdbe-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_9-acdbe(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_9-acdbe-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_9-acdbe(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_9-acdbe > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_9-acdbe-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_9-acdbe(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_9-acdbe-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_9-acdbe(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_10-acdeb > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_10-acdeb-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_10-acdeb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_10-acdeb-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_10-acdeb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_10-acdeb > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_10-acdeb-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_10-acdeb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_10-acdeb-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_10-acdeb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_11-acebd > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_11-acebd-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_11-acebd(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_11-acebd-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_11-acebd(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_11-acebd > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_11-acebd-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_11-acebd(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_11-acebd-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_11-acebd(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_12-acedb > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_12-acedb-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_12-acedb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_12-acedb-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_12-acedb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_12-acedb > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_12-acedb-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_12-acedb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_12-acedb-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_12-acedb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_13-adbce > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_13-adbce-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_13-adbce(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_13-adbce-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_13-adbce(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_13-adbce > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_13-adbce-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_13-adbce(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_13-adbce-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_13-adbce(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_14-adbec > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_14-adbec-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_14-adbec(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_14-adbec-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_14-adbec(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_14-adbec > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_14-adbec-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_14-adbec(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_14-adbec-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_14-adbec(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_15-adcbe > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_15-adcbe-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_15-adcbe(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_15-adcbe-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_15-adcbe(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_15-adcbe > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_15-adcbe-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_15-adcbe(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_15-adcbe-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_15-adcbe(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_16-adceb > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_16-adceb-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_16-adceb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_16-adceb-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_16-adceb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_16-adceb > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_16-adceb-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_16-adceb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_16-adceb-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_16-adceb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_17-adebc > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_17-adebc-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_17-adebc(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_17-adebc-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_17-adebc(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_17-adebc > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_17-adebc-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_17-adebc(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_17-adebc-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_17-adebc(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_18-adecb > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_18-adecb-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_18-adecb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_18-adecb-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_18-adecb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_18-adecb > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_18-adecb-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_18-adecb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_18-adecb-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_18-adecb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_19-aebcd > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_19-aebcd-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_19-aebcd(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_19-aebcd-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_19-aebcd(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_19-aebcd > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_19-aebcd-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_19-aebcd(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_19-aebcd-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_19-aebcd(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_20-aebdc > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_20-aebdc-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_20-aebdc(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_20-aebdc-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_20-aebdc(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_20-aebdc > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_20-aebdc-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_20-aebdc(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_20-aebdc-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_20-aebdc(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_21-aecbd > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_21-aecbd-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_21-aecbd(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_21-aecbd-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_21-aecbd(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_21-aecbd > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_21-aecbd-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_21-aecbd(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_21-aecbd-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_21-aecbd(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_22-aecdb > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_22-aecdb-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_22-aecdb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_22-aecdb-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_22-aecdb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_22-aecdb > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_22-aecdb-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_22-aecdb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_22-aecdb-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_22-aecdb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_23-aedbc > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_23-aedbc-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_23-aedbc(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_23-aedbc-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_23-aedbc(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_23-aedbc > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_23-aedbc-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_23-aedbc(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_23-aedbc-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_23-aedbc(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_24-aedcb > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_24-aedcb-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_24-aedcb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_24-aedcb-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_24-aedcb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_24-aedcb > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_24-aedcb-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_24-aedcb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_24-aedcb-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_24-aedcb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_25-bacde > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_25-bacde-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_25-bacde(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_25-bacde-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_25-bacde(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_25-bacde > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_25-bacde-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_25-bacde(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_25-bacde-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_25-bacde(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_26-baced > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_26-baced-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_26-baced(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_26-baced-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_26-baced(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_26-baced > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_26-baced-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_26-baced(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_26-baced-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_26-baced(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_27-badce > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_27-badce-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_27-badce(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_27-badce-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_27-badce(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_27-badce > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_27-badce-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_27-badce(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_27-badce-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_27-badce(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_28-badec > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_28-badec-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_28-badec(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_28-badec-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_28-badec(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_28-badec > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_28-badec-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_28-badec(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_28-badec-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_28-badec(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_29-baecd > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_29-baecd-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_29-baecd(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_29-baecd-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_29-baecd(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_29-baecd > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_29-baecd-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_29-baecd(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_29-baecd-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_29-baecd(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_30-baedc > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_30-baedc-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_30-baedc(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_30-baedc-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_30-baedc(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_30-baedc > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_30-baedc-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_30-baedc(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_30-baedc-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_30-baedc(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_31-bcade > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_31-bcade-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_31-bcade(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_31-bcade-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_31-bcade(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_31-bcade > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_31-bcade-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_31-bcade(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_31-bcade-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_31-bcade(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_32-bcaed > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_32-bcaed-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_32-bcaed(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_32-bcaed-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_32-bcaed(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_32-bcaed > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_32-bcaed-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_32-bcaed(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_32-bcaed-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_32-bcaed(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_33-bcdae > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_33-bcdae-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_33-bcdae(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_33-bcdae-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_33-bcdae(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_33-bcdae > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_33-bcdae-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_33-bcdae(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_33-bcdae-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_33-bcdae(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_34-bcdea > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_34-bcdea-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_34-bcdea(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_34-bcdea-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_34-bcdea(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_34-bcdea > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_34-bcdea-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_34-bcdea(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_34-bcdea-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_34-bcdea(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_35-bcead > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_35-bcead-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_35-bcead(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_35-bcead-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_35-bcead(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_35-bcead > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_35-bcead-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_35-bcead(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_35-bcead-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_35-bcead(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_36-bceda > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_36-bceda-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_36-bceda(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_36-bceda-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_36-bceda(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_36-bceda > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_36-bceda-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_36-bceda(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_36-bceda-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_36-bceda(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_37-bdace > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_37-bdace-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_37-bdace(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_37-bdace-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_37-bdace(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_37-bdace > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_37-bdace-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_37-bdace(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_37-bdace-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_37-bdace(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_38-bdaec > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_38-bdaec-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_38-bdaec(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_38-bdaec-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_38-bdaec(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_38-bdaec > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_38-bdaec-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_38-bdaec(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_38-bdaec-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_38-bdaec(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_39-bdcae > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_39-bdcae-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_39-bdcae(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_39-bdcae-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_39-bdcae(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_39-bdcae > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_39-bdcae-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_39-bdcae(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_39-bdcae-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_39-bdcae(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_40-bdcea > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_40-bdcea-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_40-bdcea(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_40-bdcea-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_40-bdcea(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_40-bdcea > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_40-bdcea-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_40-bdcea(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_40-bdcea-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_40-bdcea(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_41-bdeac > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_41-bdeac-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_41-bdeac(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_41-bdeac-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_41-bdeac(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_41-bdeac > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_41-bdeac-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_41-bdeac(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_41-bdeac-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_41-bdeac(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_42-bdeca > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_42-bdeca-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_42-bdeca(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_42-bdeca-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_42-bdeca(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_42-bdeca > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_42-bdeca-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_42-bdeca(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_42-bdeca-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_42-bdeca(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_43-beacd > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_43-beacd-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_43-beacd(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_43-beacd-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_43-beacd(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_43-beacd > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_43-beacd-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_43-beacd(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_43-beacd-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_43-beacd(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_44-beadc > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_44-beadc-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_44-beadc(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_44-beadc-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_44-beadc(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_44-beadc > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_44-beadc-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_44-beadc(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_44-beadc-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_44-beadc(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_45-becad > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_45-becad-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_45-becad(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_45-becad-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_45-becad(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_45-becad > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_45-becad-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_45-becad(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_45-becad-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_45-becad(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_46-becda > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_46-becda-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_46-becda(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_46-becda-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_46-becda(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_46-becda > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_46-becda-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_46-becda(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_46-becda-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_46-becda(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_47-bedac > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_47-bedac-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_47-bedac(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_47-bedac-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_47-bedac(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_47-bedac > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_47-bedac-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_47-bedac(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_47-bedac-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_47-bedac(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_48-bedca > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_48-bedca-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_48-bedca(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_48-bedca-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_48-bedca(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_48-bedca > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_48-bedca-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_48-bedca(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_48-bedca-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_48-bedca(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_49-cabde > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_49-cabde-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_49-cabde(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_49-cabde-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_49-cabde(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_49-cabde > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_49-cabde-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_49-cabde(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_49-cabde-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_49-cabde(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_50-cabed > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_50-cabed-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_50-cabed(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_50-cabed-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_50-cabed(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_50-cabed > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_50-cabed-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_50-cabed(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_50-cabed-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_50-cabed(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_51-cadbe > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_51-cadbe-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_51-cadbe(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_51-cadbe-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_51-cadbe(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_51-cadbe > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_51-cadbe-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_51-cadbe(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_51-cadbe-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_51-cadbe(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_52-cadeb > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_52-cadeb-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_52-cadeb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_52-cadeb-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_52-cadeb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_52-cadeb > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_52-cadeb-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_52-cadeb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_52-cadeb-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_52-cadeb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_53-caebd > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_53-caebd-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_53-caebd(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_53-caebd-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_53-caebd(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_53-caebd > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_53-caebd-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_53-caebd(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_53-caebd-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_53-caebd(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_54-caedb > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_54-caedb-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_54-caedb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_54-caedb-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_54-caedb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_54-caedb > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_54-caedb-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_54-caedb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_54-caedb-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_54-caedb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_55-cbade > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_55-cbade-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_55-cbade(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_55-cbade-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_55-cbade(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_55-cbade > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_55-cbade-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_55-cbade(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_55-cbade-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_55-cbade(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_56-cbaed > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_56-cbaed-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_56-cbaed(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_56-cbaed-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_56-cbaed(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_56-cbaed > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_56-cbaed-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_56-cbaed(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_56-cbaed-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_56-cbaed(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_57-cbdae > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_57-cbdae-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_57-cbdae(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_57-cbdae-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_57-cbdae(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_57-cbdae > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_57-cbdae-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_57-cbdae(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_57-cbdae-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_57-cbdae(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_58-cbdea > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_58-cbdea-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_58-cbdea(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_58-cbdea-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_58-cbdea(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_58-cbdea > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_58-cbdea-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_58-cbdea(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_58-cbdea-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_58-cbdea(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_59-cbead > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_59-cbead-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_59-cbead(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_59-cbead-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_59-cbead(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_59-cbead > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_59-cbead-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_59-cbead(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_59-cbead-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_59-cbead(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_60-cbeda > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_60-cbeda-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_60-cbeda(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_60-cbeda-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_60-cbeda(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_60-cbeda > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_60-cbeda-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_60-cbeda(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_60-cbeda-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_60-cbeda(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_61-cdabe > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_61-cdabe-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_61-cdabe(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_61-cdabe-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_61-cdabe(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_61-cdabe > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_61-cdabe-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_61-cdabe(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_61-cdabe-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_61-cdabe(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_62-cdaeb > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_62-cdaeb-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_62-cdaeb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_62-cdaeb-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_62-cdaeb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_62-cdaeb > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_62-cdaeb-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_62-cdaeb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_62-cdaeb-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_62-cdaeb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_63-cdbae > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_63-cdbae-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_63-cdbae(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_63-cdbae-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_63-cdbae(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_63-cdbae > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_63-cdbae-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_63-cdbae(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_63-cdbae-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_63-cdbae(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_64-cdbea > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_64-cdbea-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_64-cdbea(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_64-cdbea-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_64-cdbea(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_64-cdbea > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_64-cdbea-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_64-cdbea(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_64-cdbea-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_64-cdbea(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_65-cdeab > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_65-cdeab-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_65-cdeab(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_65-cdeab-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_65-cdeab(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_65-cdeab > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_65-cdeab-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_65-cdeab(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_65-cdeab-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_65-cdeab(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_66-cdeba > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_66-cdeba-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_66-cdeba(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_66-cdeba-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_66-cdeba(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_66-cdeba > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_66-cdeba-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_66-cdeba(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_66-cdeba-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_66-cdeba(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_67-ceabd > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_67-ceabd-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_67-ceabd(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_67-ceabd-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_67-ceabd(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_67-ceabd > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_67-ceabd-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_67-ceabd(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_67-ceabd-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_67-ceabd(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_68-ceadb > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_68-ceadb-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_68-ceadb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_68-ceadb-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_68-ceadb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_68-ceadb > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_68-ceadb-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_68-ceadb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_68-ceadb-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_68-ceadb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_69-cebad > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_69-cebad-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_69-cebad(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_69-cebad-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_69-cebad(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_69-cebad > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_69-cebad-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_69-cebad(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_69-cebad-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_69-cebad(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_70-cebda > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_70-cebda-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_70-cebda(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_70-cebda-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_70-cebda(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_70-cebda > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_70-cebda-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_70-cebda(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_70-cebda-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_70-cebda(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_71-cedab > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_71-cedab-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_71-cedab(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_71-cedab-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_71-cedab(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_71-cedab > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_71-cedab-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_71-cedab(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_71-cedab-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_71-cedab(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_72-cedba > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_72-cedba-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_72-cedba(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_72-cedba-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_72-cedba(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_72-cedba > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_72-cedba-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_72-cedba(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_72-cedba-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_72-cedba(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_73-dabce > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_73-dabce-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_73-dabce(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_73-dabce-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_73-dabce(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_73-dabce > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_73-dabce-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_73-dabce(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_73-dabce-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_73-dabce(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_74-dabec > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_74-dabec-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_74-dabec(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_74-dabec-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_74-dabec(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_74-dabec > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_74-dabec-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_74-dabec(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_74-dabec-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_74-dabec(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_75-dacbe > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_75-dacbe-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_75-dacbe(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_75-dacbe-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_75-dacbe(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_75-dacbe > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_75-dacbe-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_75-dacbe(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_75-dacbe-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_75-dacbe(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_76-daceb > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_76-daceb-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_76-daceb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_76-daceb-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_76-daceb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_76-daceb > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_76-daceb-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_76-daceb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_76-daceb-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_76-daceb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_77-daebc > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_77-daebc-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_77-daebc(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_77-daebc-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_77-daebc(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_77-daebc > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_77-daebc-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_77-daebc(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_77-daebc-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_77-daebc(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_78-daecb > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_78-daecb-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_78-daecb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_78-daecb-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_78-daecb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_78-daecb > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_78-daecb-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_78-daecb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_78-daecb-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_78-daecb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_79-dbace > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_79-dbace-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_79-dbace(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_79-dbace-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_79-dbace(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_79-dbace > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_79-dbace-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_79-dbace(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_79-dbace-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_79-dbace(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_80-dbaec > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_80-dbaec-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_80-dbaec(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_80-dbaec-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_80-dbaec(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_80-dbaec > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_80-dbaec-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_80-dbaec(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_80-dbaec-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_80-dbaec(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_81-dbcae > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_81-dbcae-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_81-dbcae(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_81-dbcae-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_81-dbcae(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_81-dbcae > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_81-dbcae-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_81-dbcae(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_81-dbcae-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_81-dbcae(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_82-dbcea > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_82-dbcea-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_82-dbcea(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_82-dbcea-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_82-dbcea(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_82-dbcea > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_82-dbcea-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_82-dbcea(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_82-dbcea-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_82-dbcea(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_83-dbeac > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_83-dbeac-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_83-dbeac(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_83-dbeac-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_83-dbeac(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_83-dbeac > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_83-dbeac-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_83-dbeac(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_83-dbeac-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_83-dbeac(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_84-dbeca > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_84-dbeca-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_84-dbeca(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_84-dbeca-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_84-dbeca(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_84-dbeca > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_84-dbeca-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_84-dbeca(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_84-dbeca-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_84-dbeca(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_85-dcabe > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_85-dcabe-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_85-dcabe(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_85-dcabe-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_85-dcabe(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_85-dcabe > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_85-dcabe-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_85-dcabe(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_85-dcabe-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_85-dcabe(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_86-dcaeb > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_86-dcaeb-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_86-dcaeb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_86-dcaeb-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_86-dcaeb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_86-dcaeb > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_86-dcaeb-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_86-dcaeb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_86-dcaeb-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_86-dcaeb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_87-dcbae > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_87-dcbae-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_87-dcbae(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_87-dcbae-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_87-dcbae(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_87-dcbae > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_87-dcbae-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_87-dcbae(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_87-dcbae-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_87-dcbae(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_88-dcbea > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_88-dcbea-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_88-dcbea(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_88-dcbea-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_88-dcbea(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_88-dcbea > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_88-dcbea-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_88-dcbea(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_88-dcbea-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_88-dcbea(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_89-dceab > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_89-dceab-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_89-dceab(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_89-dceab-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_89-dceab(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_89-dceab > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_89-dceab-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_89-dceab(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_89-dceab-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_89-dceab(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_90-dceba > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_90-dceba-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_90-dceba(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_90-dceba-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_90-dceba(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_90-dceba > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_90-dceba-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_90-dceba(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_90-dceba-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_90-dceba(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_91-deabc > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_91-deabc-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_91-deabc(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_91-deabc-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_91-deabc(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_91-deabc > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_91-deabc-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_91-deabc(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_91-deabc-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_91-deabc(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_92-deacb > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_92-deacb-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_92-deacb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_92-deacb-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_92-deacb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_92-deacb > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_92-deacb-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_92-deacb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_92-deacb-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_92-deacb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_93-debac > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_93-debac-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_93-debac(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_93-debac-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_93-debac(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_93-debac > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_93-debac-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_93-debac(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_93-debac-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_93-debac(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_94-debca > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_94-debca-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_94-debca(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_94-debca-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_94-debca(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_94-debca > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_94-debca-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_94-debca(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_94-debca-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_94-debca(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_95-decab > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_95-decab-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_95-decab(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_95-decab-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_95-decab(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_95-decab > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_95-decab-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_95-decab(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_95-decab-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_95-decab(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_96-decba > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_96-decba-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_96-decba(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_96-decba-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_96-decba(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_96-decba > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_96-decba-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_96-decba(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_96-decba-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_96-decba(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_97-eabcd > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_97-eabcd-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_97-eabcd(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_97-eabcd-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_97-eabcd(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_97-eabcd > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_97-eabcd-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_97-eabcd(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_97-eabcd-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_97-eabcd(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_98-eabdc > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_98-eabdc-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_98-eabdc(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_98-eabdc-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_98-eabdc(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_98-eabdc > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_98-eabdc-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_98-eabdc(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_98-eabdc-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_98-eabdc(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_99-eacbd > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_99-eacbd-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_99-eacbd(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_99-eacbd-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_99-eacbd(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_99-eacbd > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_99-eacbd-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_99-eacbd(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_99-eacbd-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_99-eacbd(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_100-eacdb > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_100-eacdb-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_100-eacdb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_100-eacdb-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_100-eacdb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_100-eacdb > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_100-eacdb-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_100-eacdb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_100-eacdb-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_100-eacdb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_101-eadbc > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_101-eadbc-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_101-eadbc(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_101-eadbc-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_101-eadbc(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_101-eadbc > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_101-eadbc-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_101-eadbc(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_101-eadbc-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_101-eadbc(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_102-eadcb > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_102-eadcb-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_102-eadcb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_102-eadcb-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_102-eadcb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_102-eadcb > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_102-eadcb-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_102-eadcb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_102-eadcb-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_102-eadcb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_103-ebacd > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_103-ebacd-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_103-ebacd(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_103-ebacd-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_103-ebacd(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_103-ebacd > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_103-ebacd-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_103-ebacd(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_103-ebacd-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_103-ebacd(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_104-ebadc > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_104-ebadc-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_104-ebadc(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_104-ebadc-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_104-ebadc(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_104-ebadc > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_104-ebadc-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_104-ebadc(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_104-ebadc-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_104-ebadc(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_105-ebcad > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_105-ebcad-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_105-ebcad(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_105-ebcad-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_105-ebcad(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_105-ebcad > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_105-ebcad-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_105-ebcad(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_105-ebcad-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_105-ebcad(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_106-ebcda > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_106-ebcda-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_106-ebcda(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_106-ebcda-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_106-ebcda(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_106-ebcda > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_106-ebcda-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_106-ebcda(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_106-ebcda-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_106-ebcda(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_107-ebdac > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_107-ebdac-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_107-ebdac(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_107-ebdac-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_107-ebdac(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_107-ebdac > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_107-ebdac-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_107-ebdac(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_107-ebdac-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_107-ebdac(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_108-ebdca > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_108-ebdca-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_108-ebdca(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_108-ebdca-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_108-ebdca(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_108-ebdca > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_108-ebdca-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_108-ebdca(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_108-ebdca-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_108-ebdca(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_109-ecabd > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_109-ecabd-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_109-ecabd(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_109-ecabd-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_109-ecabd(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_109-ecabd > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_109-ecabd-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_109-ecabd(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_109-ecabd-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_109-ecabd(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_110-ecadb > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_110-ecadb-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_110-ecadb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_110-ecadb-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_110-ecadb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_110-ecadb > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_110-ecadb-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_110-ecadb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_110-ecadb-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_110-ecadb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_111-ecbad > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_111-ecbad-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_111-ecbad(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_111-ecbad-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_111-ecbad(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_111-ecbad > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_111-ecbad-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_111-ecbad(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_111-ecbad-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_111-ecbad(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_112-ecbda > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_112-ecbda-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_112-ecbda(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_112-ecbda-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_112-ecbda(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_112-ecbda > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_112-ecbda-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_112-ecbda(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_112-ecbda-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_112-ecbda(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_113-ecdab > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_113-ecdab-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_113-ecdab(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_113-ecdab-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_113-ecdab(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_113-ecdab > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_113-ecdab-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_113-ecdab(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_113-ecdab-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_113-ecdab(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_114-ecdba > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_114-ecdba-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_114-ecdba(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_114-ecdba-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_114-ecdba(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_114-ecdba > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_114-ecdba-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_114-ecdba(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_114-ecdba-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_114-ecdba(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_115-edabc > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_115-edabc-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_115-edabc(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_115-edabc-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_115-edabc(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_115-edabc > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_115-edabc-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_115-edabc(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_115-edabc-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_115-edabc(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_116-edacb > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_116-edacb-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_116-edacb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_116-edacb-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_116-edacb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_116-edacb > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_116-edacb-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_116-edacb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_116-edacb-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_116-edacb(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_117-edbac > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_117-edbac-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_117-edbac(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_117-edbac-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_117-edbac(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_117-edbac > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_117-edbac-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_117-edbac(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_117-edbac-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_117-edbac(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_118-edbca > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_118-edbca-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_118-edbca(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_118-edbca-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_118-edbca(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_118-edbca > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_118-edbca-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_118-edbca(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_118-edbca-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_118-edbca(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_119-edcab > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_119-edcab-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_119-edcab(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_119-edcab-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_119-edcab(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_119-edcab > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_119-edcab-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_119-edcab(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_119-edcab-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_119-edcab(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_120-edcba > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_120-edcba-glibc.rtld.dynamic_sort_1.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_120-edcba(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_120-edcba-glibc.rtld.dynamic_sort_1.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_120-edcba(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=1) expected output comparison'
    something_failed=true
  fi
fi
GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2 ${test_wrapper_env} ${run_program_env} \
${common_objpfx}support/test-run-command \
${common_objpfx}elf/ld.so \
--library-path ${common_objpfx}elf/tst-dso-ordering9-dir:${common_objpfx}elf:${common_objpfx}.:${common_objpfx}dlfcn \
${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_120-edcba > \
  ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_120-edcba-glibc.rtld.dynamic_sort_2.output
if [ $? -ne 0 ]; then
  echo 'FAIL: tst-dso-ordering9_120-edcba(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) execution test'
  something_failed=true
else
  diff -wu ${common_objpfx}elf/tst-dso-ordering9-dir/tst-dso-ordering9_120-edcba-glibc.rtld.dynamic_sort_2.output \
           ${common_objpfx}elf/dso-sort-tests-src/tst-dso-ordering9.exp
  if [ $? -ne 0 ]; then
    echo 'FAIL: tst-dso-ordering9_120-edcba(GLIBC_TUNABLES=glibc.rtld.dynamic_sort=2) expected output comparison'
    something_failed=true
  fi
fi
if $something_failed; then
  exit 1
else
  echo 'PASS: all tests for tst-dso-ordering9 succeeded'
  exit 0
fi
