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 | |
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.
-rw-r--r-- | testsuite/ChangeLog | 3 | ||||
-rw-r--r-- | testsuite/systemtap.base/static_uprobes.exp | 4 |
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 { |