summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testsuite/ChangeLog3
-rw-r--r--testsuite/systemtap.base/static_uprobes.exp4
2 files changed, 6 insertions, 1 deletions
diff --git a/testsuite/ChangeLog b/testsuite/ChangeLog
index e9e40a1f..2a2dcd79 100644
--- a/testsuite/ChangeLog
+++ b/testsuite/ChangeLog
@@ -1,5 +1,8 @@
2009-02-18 David Smith <dsmith@redhat.com>
+ * systemtap.base/static_uprobes.exp: Handles errors from running
+ 'dtrace' python script better.
+
* systemtap.base/labels.exp: Better cleanup.
2009-02-17 Frank Ch. Eigler <fche@elastic.org>
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 {