[ltrace-commits] 02/03: Fix spurious failures in attach-process.exp

Petr Machata pmachata-guest at moszumanska.debian.org
Wed Apr 8 11:23:47 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 4132935dfc1ed568aae0277867051e4f893643e6
Author: Роман Донченко <dpb at corrigendum.ru>
Date:   Sun Apr 5 22:51:17 2015 +0300

    Fix spurious failures in attach-process.exp
    
    Attaching immediately often leads to attaching before the process reaches
    the first sleep call. Use a delay.
---
 testsuite/ltrace.minor/attach-process.exp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/testsuite/ltrace.minor/attach-process.exp b/testsuite/ltrace.minor/attach-process.exp
index c050f21..1249bd3 100644
--- a/testsuite/ltrace.minor/attach-process.exp
+++ b/testsuite/ltrace.minor/attach-process.exp
@@ -26,5 +26,6 @@ set bin [ltraceCompile {} [ltraceSource c {
 }]]
 
 spawn $bin
+sleep 1
 ltraceMatch1 [ltraceRun -S -p [exp_pid]] { sleep\(} == 1
 ltraceDone

-- 
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