summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ChangeLog6
-rw-r--r--tests/Makefile.am3
-rwxr-xr-xtests/run-addrname-test.sh9
-rw-r--r--tests/testfile41.bz2bin0 -> 295 bytes
4 files changed, 16 insertions, 2 deletions
diff --git a/tests/ChangeLog b/tests/ChangeLog
index adfcb2c7..e854a6be 100644
--- a/tests/ChangeLog
+++ b/tests/ChangeLog
@@ -1,3 +1,9 @@
+2007-09-11 Roland McGrath <[email protected]>
+
+ * run-addrname-test.sh: Add a new case.
+ * testfile41.bz2: New data file.
+ * Makefile.am (EXTRA_DIST): Add it.
+
2007-08-23 Roland McGrath <[email protected]>
* run-allregs.sh: Update expected x86-64 output for %rflags.
diff --git a/tests/Makefile.am b/tests/Makefile.am
index decefe77..eb34e438 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -127,7 +127,8 @@ EXTRA_DIST = run-arextract.sh run-arsymtest.sh \
testfile34.bz2 testfile35.bz2 testfile35.debug.bz2 \
testfile36.bz2 testfile36.debug.bz2 \
testfile37.bz2 testfile37.debug.bz2 \
- testfile38.bz2 testfile39.bz2 testfile40.bz2 testfile40.debug.bz2
+ testfile38.bz2 testfile39.bz2 testfile40.bz2 testfile40.debug.bz2 \
+ testfile41.bz2
installed_TESTS_ENVIRONMENT = libdir=$(DESTDIR)$(libdir) \
bindir=$(DESTDIR)$(bindir) \
diff --git a/tests/run-addrname-test.sh b/tests/run-addrname-test.sh
index 59290b39..ce47fe10 100755
--- a/tests/run-addrname-test.sh
+++ b/tests/run-addrname-test.sh
@@ -25,7 +25,7 @@
. $srcdir/test-subr.sh
-testfiles testfile34 testfile38
+testfiles testfile34 testfile38 testfile41
testrun_compare ../src/addr2line -f -e testfile34 \
0x08048074 0x08048075 0x08048076 \
@@ -55,4 +55,11 @@ t3_global_after_0+0x1
??:0
EOF
+testrun_compare ../src/addr2line -S -e testfile41 0x1 0x104 <<\EOF
+small_global_at_large_global+0x1
+??:0
+small_global_first_at_large_global+0x1
+??:0
+EOF
+
exit 0
diff --git a/tests/testfile41.bz2 b/tests/testfile41.bz2
new file mode 100644
index 00000000..f9bf5a48
--- /dev/null
+++ b/tests/testfile41.bz2
Binary files differ