Skip to content

Commit

Permalink
qa: filter fd numbers from pducheck with latest valgrind
Browse files Browse the repository at this point in the history
Latest valgrind from rawhide seems to use one less open
file descriptor than previously, which mucks up expected
output for test 1363.
  • Loading branch information
natoscott committed Jul 19, 2024
1 parent 5825bdd commit 8ab6a33
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 16 deletions.
1 change: 1 addition & 0 deletions qa/1361
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_filter()
{
sed \
-e 's/fd=[3-5]/fd=N/' \
-e 's/len=[0-9]*[0-9]/len=NNN/' \
# end
}
Expand Down
16 changes: 8 additions & 8 deletions qa/1361.out
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ QA output created by 1361
+ Mode: PDU_BINARY Pass 0 +
+++++++++++++++++++++++++++
__pmDumpPDUTrace: recent PDUs ...
[60] xmit fd=4 type=LOG_CONTROL len=NNN
[61] recv fd=3 type=LOG_CONTROL len=NNN
[62] xmit fd=4 type=LOG_STATUS len=NNN
[63] recv fd=3 type=LOG_STATUS len=NNN
[64] xmit fd=4 type=LOG_STATUS_V2 len=NNN
[65] recv fd=3 type=LOG_STATUS_V2 len=NNN
[66] xmit fd=4 type=LOG_REQUEST len=NNN
[67] recv fd=3 type=LOG_REQUEST len=NNN
[60] xmit fd=N type=LOG_CONTROL len=NNN
[61] recv fd=N type=LOG_CONTROL len=NNN
[62] xmit fd=N type=LOG_STATUS len=NNN
[63] recv fd=N type=LOG_STATUS len=NNN
[64] xmit fd=N type=LOG_STATUS_V2 len=NNN
[65] recv fd=N type=LOG_STATUS_V2 len=NNN
[66] xmit fd=N type=LOG_REQUEST len=NNN
[67] recv fd=N type=LOG_REQUEST len=NNN
16 changes: 8 additions & 8 deletions qa/1363.out
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ QA output created by 1361 --valgrind
+ Mode: PDU_BINARY Pass 0 +
+++++++++++++++++++++++++++
__pmDumpPDUTrace: recent PDUs ...
[60] xmit fd=5 type=LOG_CONTROL len=NNN
[61] recv fd=4 type=LOG_CONTROL len=NNN
[62] xmit fd=5 type=LOG_STATUS len=NNN
[63] recv fd=4 type=LOG_STATUS len=NNN
[64] xmit fd=5 type=LOG_STATUS_V2 len=NNN
[65] recv fd=4 type=LOG_STATUS_V2 len=NNN
[66] xmit fd=5 type=LOG_REQUEST len=NNN
[67] recv fd=4 type=LOG_REQUEST len=NNN
[60] xmit fd=N type=LOG_CONTROL len=NNN
[61] recv fd=N type=LOG_CONTROL len=NNN
[62] xmit fd=N type=LOG_STATUS len=NNN
[63] recv fd=N type=LOG_STATUS len=NNN
[64] xmit fd=N type=LOG_STATUS_V2 len=NNN
[65] recv fd=N type=LOG_STATUS_V2 len=NNN
[66] xmit fd=N type=LOG_REQUEST len=NNN
[67] recv fd=N type=LOG_REQUEST len=NNN
=== filtered valgrind report ===
Memcheck, a memory error detector
Command: src/pducheck -i 1 -Dappl1
Expand Down

0 comments on commit 8ab6a33

Please sign in to comment.