[ltrace-commits] 07/07: Fix test for tracing of nanosleep in dwarf.exp
Petr Machata
pmachata-guest at moszumanska.debian.org
Fri Jan 16 19:32:41 UTC 2015
This is an automated email from the git hooks/post-receive script.
pmachata-guest pushed a commit to branch master
in repository ltrace.
commit e00ec3d1537c7031dce334c0b389f52927b2144d
Author: Petr Machata <pmachata at redhat.com>
Date: Fri Jan 16 20:29:23 2015 +0100
Fix test for tracing of nanosleep in dwarf.exp
- The problem is that on Fedora 21, nanosleep itself calls
_nanosleep_nocancel, which throws our pattern matching off. Simply
request that the offending symbol not be traced.
---
testsuite/ltrace.main/dwarf.exp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testsuite/ltrace.main/dwarf.exp b/testsuite/ltrace.main/dwarf.exp
index d6ccb49..0c8611c 100644
--- a/testsuite/ltrace.main/dwarf.exp
+++ b/testsuite/ltrace.main/dwarf.exp
@@ -123,7 +123,7 @@ dwarf->nanosleep({ 0, 44 }, nil) * = 0
} ]
run_dwarf_test $ref_output_e $ltrace_opts_e
-set ltrace_opts_e {"-L" "-x" "@libc.so*"}
+set ltrace_opts_e {"-L" "-x" "@libc.so*-__nanosleep_nocancel at libc.so.6"}
set ref_output_e [subst -nocommands -novariables {
ftell at libc.so.6(0x[0-9a-z]*
strlen at libc.so.6('t') * = 4
--
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