summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.base/static_uprobes.exp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/systemtap.base/static_uprobes.exp')
-rw-r--r--testsuite/systemtap.base/static_uprobes.exp4
1 files changed, 3 insertions, 1 deletions
diff --git a/testsuite/systemtap.base/static_uprobes.exp b/testsuite/systemtap.base/static_uprobes.exp
index 6c0f83a8..64cb6434 100644
--- a/testsuite/systemtap.base/static_uprobes.exp
+++ b/testsuite/systemtap.base/static_uprobes.exp
@@ -84,7 +84,9 @@ if {[installtest_p]} {
} else {
set dtrace $srcdir/../dtrace
}
-exec $dtrace -h -s $sup_dpath
+if {[catch {exec $dtrace -h -s $sup_dpath} res]} {
+ verbose -log "unable to run $dtrace: $res"
+}
if {[file exists $sup_hpath]} then {
pass "generating $sup_hpath"
} else {