summaryrefslogtreecommitdiffstats
path: root/testsuite/lib/stap_compile.exp
diff options
context:
space:
mode:
authorDave Brolley <brolley@redhat.com>2009-11-24 14:51:46 -0500
committerDave Brolley <brolley@redhat.com>2009-11-24 14:51:46 -0500
commit7067e1b0418eed528fe2d102654dbe12bb9236af (patch)
tree8120ae0263ef32cdc7fa3b2132e7acb3af03d3e0 /testsuite/lib/stap_compile.exp
parent37f1e3c413aee81f7590de431d232a474eb412ee (diff)
parent90bba7158de040705a101ba1fdf6062866b4b4e9 (diff)
downloadsystemtap-steved-7067e1b0418eed528fe2d102654dbe12bb9236af.tar.gz
systemtap-steved-7067e1b0418eed528fe2d102654dbe12bb9236af.tar.xz
systemtap-steved-7067e1b0418eed528fe2d102654dbe12bb9236af.zip
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap
Diffstat (limited to 'testsuite/lib/stap_compile.exp')
-rw-r--r--testsuite/lib/stap_compile.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/lib/stap_compile.exp b/testsuite/lib/stap_compile.exp
index c8d44203..8780930e 100644
--- a/testsuite/lib/stap_compile.exp
+++ b/testsuite/lib/stap_compile.exp
@@ -19,8 +19,8 @@ proc stap_compile { TEST_NAME compile script args } {
-re "compilation failed" {incr compile_errors 1; exp_continue}
-re "semantic error:" {incr compile_errors 1; exp_continue}
}
- catch close
set res [wait -i $spawn_id]
+ catch close
set res [lindex $res 3]
if {($res == 0 && $compile_errors == 0)