summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.pass1-4/transok.exp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/systemtap.pass1-4/transok.exp')
-rw-r--r--testsuite/systemtap.pass1-4/transok.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/systemtap.pass1-4/transok.exp b/testsuite/systemtap.pass1-4/transok.exp
index 1594e485..0b94ee9c 100644
--- a/testsuite/systemtap.pass1-4/transok.exp
+++ b/testsuite/systemtap.pass1-4/transok.exp
@@ -2,6 +2,6 @@ set self transok
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 }
}