This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[PATCH] change probe wildcard matching condition in sdt_misc.exp
- From: Han Pingtian <phan at redhat dot com>
- To: systemtap at sourceware dot org
- Cc: scox at redhat dot com, fche at redhat dot com
- Date: Fri, 19 Aug 2011 07:33:27 +0800
- Subject: [PATCH] change probe wildcard matching condition in sdt_misc.exp
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