[ltrace-commits] 06/06: added test for the DWARF aliased-symbol fix

Petr Machata pmachata-guest at moszumanska.debian.org
Tue Sep 2 13:26:54 UTC 2014


This is an automated email from the git hooks/post-receive script.

pmachata-guest pushed a commit to branch pmachata/dima-rebase
in repository ltrace.

commit 541603d185d84156f3ed348e9f24fda6117865bf
Author: Dima Kogan <dima at secretsauce.net>
Date:   Sun Jul 27 22:20:39 2014 -0700

    added test for the DWARF aliased-symbol fix
---
 testsuite/ltrace.main/dwarf.exp | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/testsuite/ltrace.main/dwarf.exp b/testsuite/ltrace.main/dwarf.exp
index 1cf014b..28471eb 100644
--- a/testsuite/ltrace.main/dwarf.exp
+++ b/testsuite/ltrace.main/dwarf.exp
@@ -135,5 +135,20 @@ nanosleep at libc.so.6({ 0, 44 }, nil) * = 0
 run_dwarf_test $ref_output_e $ltrace_opts_e
 
 
+# Make sure the DWARF filtering and the alias finding work well together
+set ltrace_opts_e {"-L" "-x" "ftell at libc.so*"}
+set ref_output_e [subst -nocommands -novariables {
+ftell at libc.so.6(0x[0-9a-z]*)  * = -1
+} ]
+run_dwarf_test $ref_output_e $ltrace_opts_e
+
+set ltrace_opts_e {"-L" "-x" "*ftell at libc.so*"}
+set ref_output_e [subst -nocommands -novariables {
+ftell at libc.so.6(0x[0-9a-z]*)  * = -1
+} ]
+run_dwarf_test $ref_output_e $ltrace_opts_e
+
+
+
 # why does ftell(...) show a hex argument? Means we know what ftell is, but not what FILE is
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/ltrace.git



More information about the ltrace-commits mailing list