summaryrefslogtreecommitdiffstats
path: root/testsuite/lib/stap_run_binary.exp
diff options
context:
space:
mode:
authorhunt <hunt>2006-08-21 15:37:08 +0000
committerhunt <hunt>2006-08-21 15:37:08 +0000
commit8267555c5fefa23a30988e3327c4aaeeed662c54 (patch)
tree5765d8b69e31606d05d4ea7f08d8d4308d6e49ec /testsuite/lib/stap_run_binary.exp
parent2b941a3df72ef8031fdcf6bbcde94ee6cd2d1d89 (diff)
downloadsystemtap-steved-8267555c5fefa23a30988e3327c4aaeeed662c54.tar.gz
systemtap-steved-8267555c5fefa23a30988e3327c4aaeeed662c54.tar.xz
systemtap-steved-8267555c5fefa23a30988e3327c4aaeeed662c54.zip
2006-08-21 Martin Hunt <hunt@redhat.com>
* lib/stap_run.exp: Check for existence of installtest_p before running it. This reenables running individual tests with runtest. * lib/stap_run2.exp: Ditto. * lib/stap_run_binary.exp: Ditto.
Diffstat (limited to 'testsuite/lib/stap_run_binary.exp')
-rw-r--r--testsuite/lib/stap_run_binary.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/lib/stap_run_binary.exp b/testsuite/lib/stap_run_binary.exp
index 6d5de4b8..f29e8f35 100644
--- a/testsuite/lib/stap_run_binary.exp
+++ b/testsuite/lib/stap_run_binary.exp
@@ -6,7 +6,7 @@
# global result_string must be set to the expected output
proc stap_run_binary { TEST_NAME} {
- if {![installtest_p]} { untested $TEST_NAME; return }
+ if {[info procs installtest_p] != "" && ![installtest_p]} {untested $TEST_NAME; return}
set hex_args {-ve 8/1 "%02x " "\n"}
set res [exec stap $TEST_NAME | hexdump $hex_args]