diff options
author | Dave Brolley <brolley@redhat.com> | 2009-04-14 12:34:11 -0400 |
---|---|---|
committer | Dave Brolley <brolley@redhat.com> | 2009-04-14 12:34:11 -0400 |
commit | 6c39ba6093aa0b3b86aa7e6f17a23ef322bd67cd (patch) | |
tree | 7491c5c2357768fafe21752c3a16436f23c51f70 /testsuite/lib | |
parent | a2422e707214a425e4e10ac5b7c39fc5ae4dea56 (diff) | |
parent | b9c2e81cc7a62336ec1daf374cb3411add772ab4 (diff) | |
download | systemtap-steved-6c39ba6093aa0b3b86aa7e6f17a23ef322bd67cd.tar.gz systemtap-steved-6c39ba6093aa0b3b86aa7e6f17a23ef322bd67cd.tar.xz systemtap-steved-6c39ba6093aa0b3b86aa7e6f17a23ef322bd67cd.zip |
Merge branch 'master' of git://sources.redhat.com/git/systemtap
Diffstat (limited to 'testsuite/lib')
-rw-r--r-- | testsuite/lib/systemtap.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/lib/systemtap.exp b/testsuite/lib/systemtap.exp index 43116a85..019b1bf8 100644 --- a/testsuite/lib/systemtap.exp +++ b/testsuite/lib/systemtap.exp @@ -85,7 +85,7 @@ proc setup_server {} { # Make sure that the necessary resources are available to run the client/server. if {[installtest_p]} then { - if {[exec /usr/bin/which stap-client-connect] == ""} then { + if {[catch {exec /usr/bin/which stap-client-connect} dummy]} then { print "Unable to start a server: stap-client-connect is not found in PATH" return 0 } @@ -93,7 +93,7 @@ proc setup_server {} { print "Unable to start a server: [exec pwd]/../stap-client-connect is not found" return 0 } - if {[exec /usr/bin/which avahi-publish-service] == ""} then { + if {[catch {exec /usr/bin/which avahi-publish-service} dummy]} then { print "Unable to start a server: avahi-publish-service is not found in PATH" return 0 } |