summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.pass1-4/parseok.exp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/systemtap.pass1-4/parseok.exp')
-rw-r--r--testsuite/systemtap.pass1-4/parseok.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/systemtap.pass1-4/parseok.exp b/testsuite/systemtap.pass1-4/parseok.exp
index 56d287b9..e96e74f2 100644
--- a/testsuite/systemtap.pass1-4/parseok.exp
+++ b/testsuite/systemtap.pass1-4/parseok.exp
@@ -2,6 +2,6 @@ set self parseok
foreach file [lsort [glob -nocomplain $srcdir/$self/*.stp]] {
set test $self/[file tail $file]
verbose -log "Running $file"
- set rc [catch {exec $file >>& systemtap.log} err]
- if {$rc == 0} { pass $test } else { fail "$test rc $rc" }
+ set rc [stap_run_batch $file]
+ if {$rc == 0} { pass $test } else { fail $test }
}