summaryrefslogtreecommitdiff
path: root/tests/run-prelink-addr-test.sh
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2011-01-12 10:49:40 -0800
committerRoland McGrath <roland@redhat.com>2011-01-12 10:49:40 -0800
commit4f6d4e104518f3fb55728fd5009a6909483f49fc (patch)
tree1101cac85ce2394ff4378b96916589e83865795a /tests/run-prelink-addr-test.sh
parent32520bd7dd079d5e07297c34a45991555c6df81f (diff)
downloadelfutils-4f6d4e104518f3fb55728fd5009a6909483f49fc.tar.gz
Undo last change for data-only tests, so we test PT_DYNAMIC digging too.
Diffstat (limited to 'tests/run-prelink-addr-test.sh')
-rwxr-xr-xtests/run-prelink-addr-test.sh12
1 files changed, 8 insertions, 4 deletions
diff --git a/tests/run-prelink-addr-test.sh b/tests/run-prelink-addr-test.sh
index 00bcd612..b7e32889 100755
--- a/tests/run-prelink-addr-test.sh
+++ b/tests/run-prelink-addr-test.sh
@@ -153,8 +153,10 @@ EOF
# eu-strip --remove-comment --strip-sections testfile54-32.noshdrs.so
testfiles testfile54-32.so testfile54-32.so.debug
testfiles testfile54-32.prelink.so testfile54-32.noshdrs.so
-tempfiles testmaps54-32 testfile54-32.noshdrs.so.debug
-ln -s testfile54-32.so.debug testfile54-32.noshdrs.so.debug
+tempfiles testmaps54-32
+
+# Note we have no testfile54-32.noshdrs.so.debug link here, so
+# this is testing finding the symbols in .dynsym via PT_DYNAMIC.
cat > testmaps54-32 <<EOF
00111000-00112000 r--p 00000000 fd:01 1 `pwd`/testfile54-32.so
@@ -182,8 +184,10 @@ EOF
# Repeat testfile64 in 64-bit
testfiles testfile54-64.so testfile54-64.so.debug
testfiles testfile54-64.prelink.so testfile54-64.noshdrs.so
-tempfiles testmaps54-64 testfile54-64.noshdrs.so.debug
-ln -s testfile54-64.so.debug testfile54-64.noshdrs.so.debug
+tempfiles testmaps54-64
+
+# Note we have no testfile54-64.noshdrs.so.debug link here, so
+# this is testing finding the symbols in .dynsym via PT_DYNAMIC.
cat > testmaps54-64 <<EOF
1000000000-1000001000 r--p 00000000 fd:11 1 `pwd`/testfile54-64.so