summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2010-03-18 09:56:18 -0400
committerFrank Ch. Eigler <fche@elastic.org>2010-03-18 09:56:18 -0400
commit88a7bbdc89c4fe51c26fefc6a8c69909e090fc70 (patch)
treef1f723ea0bffbb625578e6888f6fd93b28e7d28c
parent70e6d6c94781870f7c11fb3cd62bd8ea69e91a85 (diff)
downloadsystemtap-steved-88a7bbdc89c4fe51c26fefc6a8c69909e090fc70.tar.gz
systemtap-steved-88a7bbdc89c4fe51c26fefc6a8c69909e090fc70.tar.xz
systemtap-steved-88a7bbdc89c4fe51c26fefc6a8c69909e090fc70.zip
testuite: modargs.exp shouldn't execute things without installcheck
-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"
}