]> www.infradead.org Git - users/hch/xfstests-dev.git/commit
common/dump: don't replace pids arbitrarily
authorDarrick J. Wong <djwong@kernel.org>
Mon, 3 Feb 2025 22:00:26 +0000 (14:00 -0800)
committerZorro Lang <zlang@kernel.org>
Sun, 16 Feb 2025 11:25:57 +0000 (19:25 +0800)
commit777732b27e62ee1599350509785e2504cf7cf3e4
treeb3fc34f9d8f9359609a2d3470b765082f8c00eca
parent543795bf67f282b82c23aff352a714af2c59479b
common/dump: don't replace pids arbitrarily

In the next patch we'll run tests in a pid namespace, which means that
the test process will have a very low pid.  This low pid situation
causes problems with the dump tests because they unconditionally replace
it with the word "PID", which causes unnecessary test failures.

Initially I was going to fix it by bracketing the regexp with a
whitespace/punctuation/eol/sol detector, but then I decided to remove it
see how many sheep came barreling through.  None did, so I removed it
entirely.  The commit adding it (linked below) was not insightful at
all.

Fixes: 19beb54c96e363 ("Extra filtering as part of IRIX/Linux xfstests reconciliation for dump.")
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
common/dump