summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStan Cox <scox@redhat.com>2008-08-08 15:05:18 -0400
committerStan Cox <scox@redhat.com>2008-08-08 15:05:18 -0400
commitf1118e1032612170cae8cd979cd529722ad95fdb (patch)
tree166dcf4b89ca4ee288299b6189a5a4efa33443d6
parent41211ba31d863acbff6603446f7eefa28c874ddf (diff)
downloadsystemtap-steved-f1118e1032612170cae8cd979cd529722ad95fdb.tar.gz
systemtap-steved-f1118e1032612170cae8cd979cd529722ad95fdb.tar.xz
systemtap-steved-f1118e1032612170cae8cd979cd529722ad95fdb.zip
Lower statement wildcard test matching threshold.
-rw-r--r--testsuite/ChangeLog4
-rw-r--r--testsuite/systemtap.base/stmt_rel.stp4
2 files changed, 6 insertions, 2 deletions
diff --git a/testsuite/ChangeLog b/testsuite/ChangeLog
index c8c07b3b..65444322 100644
--- a/testsuite/ChangeLog
+++ b/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2008-08-08 Stan Cox <scox@redhat.com>
+
+ * systemtap.base/stmt_rel.stp: Lower wildcard matching count.
+
2008-08-07 David Smith <dsmith@redhat.com>
* systemtap.base/utrace_p4.exp: Uses lib/stap_compile.exp instead
diff --git a/testsuite/systemtap.base/stmt_rel.stp b/testsuite/systemtap.base/stmt_rel.stp
index 13066161..cfe77317 100644
--- a/testsuite/systemtap.base/stmt_rel.stp
+++ b/testsuite/systemtap.base/stmt_rel.stp
@@ -55,11 +55,11 @@ probe kernel.statement("bio_put@fs/bio.c:*") {
# printf ("FAIL address %s %s\n", stack2, stack3)
# }
- # Did wildcard probe hit at least 5 different statements?
+ # Did wildcard probe hit at least 4 different statements?
foreach ([i] in wildcardpp) {
statement_count += 1
}
- if (statement_count >= 5) {
+ if (statement_count >= 4) {
printf ("PASS wildcard\n")
}
else