summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.base/modargs.exp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/systemtap.base/modargs.exp')
-rw-r--r--testsuite/systemtap.base/modargs.exp7
1 files changed, 5 insertions, 2 deletions
diff --git a/testsuite/systemtap.base/modargs.exp b/testsuite/systemtap.base/modargs.exp
index b8d31244..b7597a58 100644
--- a/testsuite/systemtap.base/modargs.exp
+++ b/testsuite/systemtap.base/modargs.exp
@@ -13,12 +13,15 @@ if { [catch { set module [eval $compile] } msg ] } {
pass "$test compilation"
}
+set test "modargs execution"
+if {! [installtest_p]} { untested $test; return }
+
set ::result_string {initializedname=foo initializednumber=999 name=charley number=-1}
set res [ exec staprun $module $::result_string ]
if {[string compare $res $::result_string] == 0} {
- pass "$test execution"
+ pass "$test"
} else {
- fail "$test execution, result: $res"
+ fail "$test, result: $res"
}