[PATCH] change probe wildcard matching condition in sdt_misc.exp

Han Pingtian phan@redhat.com
Thu Aug 18 23:33:00 GMT 2011


Since in systemtap.base/sdt_types.c, int_var,
primary_colors_var,primary_colors_var has been conditional declared, the
wildcard matching condition should be changed accordingly.

Signed-off-by: Han Pingtian <phan@redhat.com>
---
 testsuite/systemtap.base/sdt_misc.exp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/testsuite/systemtap.base/sdt_misc.exp b/testsuite/systemtap.base/sdt_misc.exp
index e5b2c80..0ffbfa0 100644
--- a/testsuite/systemtap.base/sdt_misc.exp
+++ b/testsuite/systemtap.base/sdt_misc.exp
@@ -389,7 +389,7 @@ expect {
 
 catch {close}; catch {wait}
 
-if { $ok == 51 || ($ok == 43 && [regexp "^(i.86)$" $::tcl_platform(machine)])} {
+if { $ok == 51 || $ok == 48 || (($ok == 43 || $ok == 40 ) && [regexp "^(i.86)$" $::tcl_platform(machine)])} {
     pass "$test wildcard $pbtype_mssg"
 } else {
     fail "$test wildcard ($ok) $pbtype_mssg"
-- 
1.7.1



More information about the Systemtap mailing list