diff options
| author | Roland McGrath <[email protected]> | 2007-08-09 07:54:22 +0000 |
|---|---|---|
| committer | Roland McGrath <[email protected]> | 2007-08-09 07:54:22 +0000 |
| commit | 42f686820a19806da629990bf7ae69a6a2fcfb1f (patch) | |
| tree | 9e8ee58cada25a33b4a22af1a7f40bd78c55ba79 /tests | |
| parent | d1a4817e7d913efbaa7d4f4462949ed7b53618b3 (diff) | |
2007-08-09 Roland McGrath <[email protected]>
* dwfl-bug-report.c: Fix header inclusion.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ChangeLog | 10 | ||||
| -rw-r--r-- | tests/Makefile.am | 3 | ||||
| -rw-r--r-- | tests/dwfl-bug-report.c | 1 | ||||
| -rwxr-xr-x | tests/run-addrname-test.sh | 13 | ||||
| -rw-r--r-- | tests/testfile38.bz2 | bin | 0 -> 457 bytes |
5 files changed, 24 insertions, 3 deletions
diff --git a/tests/ChangeLog b/tests/ChangeLog index 9d082c87..6ac60077 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,13 @@ +2007-08-09 Roland McGrath <[email protected]> + + * dwfl-bug-report.c: Fix header inclusion. + +2007-08-08 Roland McGrath <[email protected]> + + * run-addrname-test.sh: Add a new case using addr2line -S. + * testfile38.bz2: New data file. + * Makefile.am (EXTRA_DIST): Add it. + 2007-07-16 Roland McGrath <[email protected]> * dwfl-bug-report.c: New file. diff --git a/tests/Makefile.am b/tests/Makefile.am index 86638768..040351f9 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -125,7 +125,8 @@ EXTRA_DIST = run-arextract.sh run-arsymtest.sh \ testfile30.bz2 testfile31.bz2 testfile32.bz2 testfile33.bz2 \ testfile34.bz2 testfile35.bz2 testfile35.debug.bz2 \ testfile36.bz2 testfile36.debug.bz2 \ - testfile37.bz2 testfile37.debug.bz2 + testfile37.bz2 testfile37.debug.bz2 \ + testfile38.bz2 installed_TESTS_ENVIRONMENT = libdir=$(DESTDIR)$(libdir) \ bindir=$(DESTDIR)$(bindir) \ diff --git a/tests/dwfl-bug-report.c b/tests/dwfl-bug-report.c index 5f8699dd..459a41ae 100644 --- a/tests/dwfl-bug-report.c +++ b/tests/dwfl-bug-report.c @@ -26,7 +26,6 @@ #include <config.h> #include ELFUTILS_HEADER(dwfl) -#include <elfutils/libdwfl.h> #include <stdio.h> #include <stdlib.h> #include <fcntl.h> diff --git a/tests/run-addrname-test.sh b/tests/run-addrname-test.sh index 6469646c..59290b39 100755 --- a/tests/run-addrname-test.sh +++ b/tests/run-addrname-test.sh @@ -25,7 +25,7 @@ . $srcdir/test-subr.sh -testfiles testfile34 +testfiles testfile34 testfile38 testrun_compare ../src/addr2line -f -e testfile34 \ 0x08048074 0x08048075 0x08048076 \ @@ -44,4 +44,15 @@ _end ??:0 EOF +testrun_compare ../src/addr2line -S -e testfile38 0x02 0x10a 0x211 0x31a <<\EOF +t1_global_outer+0x2 +??:0 +t2_global_symbol+0x2 +??:0 +t3_global_after_0+0x1 +??:0 +(.text)+0x31a +??:0 +EOF + exit 0 diff --git a/tests/testfile38.bz2 b/tests/testfile38.bz2 Binary files differnew file mode 100644 index 00000000..42adb774 --- /dev/null +++ b/tests/testfile38.bz2 |
