From 88a7bbdc89c4fe51c26fefc6a8c69909e090fc70 Mon Sep 17 00:00:00 2001 From: "Frank Ch. Eigler" Date: Thu, 18 Mar 2010 09:56:18 -0400 Subject: testuite: modargs.exp shouldn't execute things without installcheck --- testsuite/systemtap.base/modargs.exp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'testsuite/systemtap.base') 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" } -- cgit