diff options
author | Dave Brolley <brolley@redhat.com> | 2009-09-17 20:36:24 -0400 |
---|---|---|
committer | Dave Brolley <brolley@redhat.com> | 2009-09-17 20:36:24 -0400 |
commit | 762684a57fa5420cc122b475f592545e8eeb29cd (patch) | |
tree | c1b55657f1aff31e7298d76852bbe8522a84db13 /testsuite/systemtap.base/sdt_misc.exp | |
parent | 8afee8bbf045e858dae186d40653293c99dbbcdd (diff) | |
parent | 6bde4f381475cea055352d8ad5f60bb2f24de21d (diff) | |
download | systemtap-steved-762684a57fa5420cc122b475f592545e8eeb29cd.tar.gz systemtap-steved-762684a57fa5420cc122b475f592545e8eeb29cd.tar.xz systemtap-steved-762684a57fa5420cc122b475f592545e8eeb29cd.zip |
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap
Diffstat (limited to 'testsuite/systemtap.base/sdt_misc.exp')
-rw-r--r-- | testsuite/systemtap.base/sdt_misc.exp | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/testsuite/systemtap.base/sdt_misc.exp b/testsuite/systemtap.base/sdt_misc.exp index 096ea126..4e6f953f 100644 --- a/testsuite/systemtap.base/sdt_misc.exp +++ b/testsuite/systemtap.base/sdt_misc.exp @@ -85,7 +85,7 @@ set sup_opath "[pwd]/static_user_markers_.o" set fp [open $sup_dpath "w"] puts $fp " provider static_user_markers { - probe test_probe_1 (); + probe test_probe_0 (); probe test_probe_2 (int i); probe test_probe_3 (int i, char* x); probe test_probe_4 (struct astruct arg); @@ -253,21 +253,22 @@ if { $res0 != "" || $res != "" } { pass "$test compiling -g -shared $pbtype_mssg" } -verbose -log "stap -c $sup_exepath -e probe process(\"$sup_sopath\").mark(\"test_probe_2\") {printf(\"In %s probe %#x\\n\", \$\$name, \$arg1)}" -spawn stap -c $sup_exepath -e "probe process(\"$sup_sopath\").mark(\"test_probe_2\") {printf(\"In %s probe %#x\\n\", \$\$name, \$arg1)}" -expect { - -timeout 180 - -re {In test_probe_2 probe 0x2} { incr ok; exp_continue } - timeout { fail "$test (timeout)" } - eof { } -} - -wait +set ok 0 +# verbose -log "stap -c $sup_exepath -e probe process(\"$sup_sopath\").mark(\"test_probe_2\") {printf(\"In %s probe %#x\\n\", \$\$name, \$arg1)}" +# spawn stap -c $sup_exepath -e "probe process(\"$sup_sopath\").mark(\"test_probe_2\") {printf(\"In %s probe %#x\\n\", \$\$name, \$arg1)}" +# expect { +# -timeout 180 +# -re {In test_probe_2 probe 0x2} { incr ok; exp_continue } +# timeout { fail "$test (timeout)" } +# eof { } +# } +# wait if {$ok == 2} { pass "$test shared $pbtype_mssg" } else { - fail "$test shared ($ok) $pbtype_mssg" +# fail "$test shared ($ok) $pbtype_mssg" + xfail "$test shared ($ok) $pbtype_mssg" } # Test .mark probe wildcard matching |