[Bug testsuite/34111] New: Fix listing_mode_sanity.exp

mcermak at redhat dot com sourceware-bugzilla@sourceware.org
Mon Apr 27 15:07:53 GMT 2026


https://sourceware.org/bugzilla/show_bug.cgi?id=34111

            Bug ID: 34111
           Summary: Fix listing_mode_sanity.exp
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: testsuite
          Assignee: systemtap at sourceware dot org
          Reporter: mcermak at redhat dot com
  Target Milestone: ---

The following patch fixes the listing_mode_sanity.exp testcase for me:

$ git diff
diff --git a/testsuite/systemtap.base/listing_mode_sanity.exp
b/testsuite/systemtap.base/listing_mode_sanity.exp
index 172360655..c3fe98205 100644
--- a/testsuite/systemtap.base/listing_mode_sanity.exp
+++ b/testsuite/systemtap.base/listing_mode_sanity.exp
@@ -88,7 +88,7 @@ if {[regexp "^kernel\\.function\\(\"vfs_read@\[^\"\]*\"\\)$"
$output]} {

 set subtest "verbatim stap -L vfs_read"
 verbose -log "output is $outputL"
-if {[regexp "^kernel.function.*vfs_read.*call.*file.*buf.*count.*pos.*ret"
$outputL]} {
+if {[regexp "^kernel.function.*vfs_read.*call.*file.*buf.*count.*pos"
$outputL]} {
    pass "$test ($subtest)"
 } else {
    fail "$test ($subtest)"
$ 

There seems to be a bit of flakiness in the stap -L '**', but it doesn't fail
always.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Systemtap mailing list