summaryrefslogtreecommitdiffstats
path: root/testsuite/lib/stap_run.exp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/lib/stap_run.exp')
-rw-r--r--testsuite/lib/stap_run.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/lib/stap_run.exp b/testsuite/lib/stap_run.exp
index d230e8e5..2d378154 100644
--- a/testsuite/lib/stap_run.exp
+++ b/testsuite/lib/stap_run.exp
@@ -14,7 +14,7 @@
# returns 1 if there was a problem
# Additional arguments are passed to stap as-is.
proc stap_run { TEST_NAME {LOAD_GEN_FUNCTION ""} {OUTPUT_CHECK_STRING ""} args } {
- if {![installtest_p]} { untested $TEST_NAME; return }
+ if {[info procs installtest_p] != "" && ![installtest_p]} { untested $TEST_NAME; return }
set cmd [concat {stap -v} $args]
if [file readable $TEST_NAME] {