public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] change probe wildcard matching condition in sdt_misc.exp
@ 2011-08-18 23:33 Han Pingtian
  0 siblings, 0 replies; only message in thread
From: Han Pingtian @ 2011-08-18 23:33 UTC (permalink / raw)
  To: systemtap; +Cc: scox, fche

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-08-18 23:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-18 23:33 [PATCH] change probe wildcard matching condition in sdt_misc.exp Han Pingtian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).