diff options
author | David Smith <dsmith@redhat.com> | 2009-02-18 15:35:53 -0600 |
---|---|---|
committer | David Smith <dsmith@redhat.com> | 2009-02-18 15:35:53 -0600 |
commit | 9b9b56ea063b6eea422a6d772bd49469e3eec649 (patch) | |
tree | 29f163add825639d53f4ac933ddba3d82258d5f7 /testsuite/systemtap.base | |
parent | fed285ce2dbd2f5fc38a80771216247ca4e26227 (diff) | |
download | systemtap-steved-9b9b56ea063b6eea422a6d772bd49469e3eec649.tar.gz systemtap-steved-9b9b56ea063b6eea422a6d772bd49469e3eec649.tar.xz systemtap-steved-9b9b56ea063b6eea422a6d772bd49469e3eec649.zip |
Handles errors better.
2009-02-18 David Smith <dsmith@redhat.com>
* systemtap.base/static_uprobes.exp: Handles errors from running
'dtrace' python script better.
Diffstat (limited to 'testsuite/systemtap.base')
-rw-r--r-- | testsuite/systemtap.base/static_uprobes.exp | 4 |
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 { |