diff options
author | Darrick J. Wong <djwong@kernel.org> | 2023-06-06 15:29:19 -0700 |
---|---|---|
committer | Zorro Lang <zlang@kernel.org> | 2023-06-10 15:35:59 +0800 |
commit | eef60725c85068630c2375868a3426898392c5b8 (patch) | |
tree | 3f73fedb7630a73d1a0069d149e6e0da8f0c7519 | |
parent | 27d202f5c8de0622a11a762a64731c6f45531993 (diff) | |
download | xfstests-dev-eef60725c85068630c2375868a3426898392c5b8.tar.gz |
xfs/155: improve logging in this test
If this test fails after a certain number of writes, we should state
the exact number of writes so that we can coordinate with 155.full.
Instead, we state the pre-randomization number, which isn't all that
helpful.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Bill O'Donnell <bodonnel@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
-rwxr-xr-x | tests/xfs/155 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/xfs/155 b/tests/xfs/155 index 25cc84069c..302607b510 100755 --- a/tests/xfs/155 +++ b/tests/xfs/155 @@ -63,11 +63,12 @@ done # If NEEDSREPAIR is still set on the filesystem, ensure that a full run # cleans everything up. +echo "Checking filesystem one last time after $allowed_writes writes." >> $seqres.full if _check_scratch_xfs_features NEEDSREPAIR &> /dev/null; then echo "Clearing NEEDSREPAIR" >> $seqres.full _scratch_xfs_repair 2>> $seqres.full _check_scratch_xfs_features NEEDSREPAIR > /dev/null && \ - echo "Repair failed to clear NEEDSREPAIR on the $nr_writes writes test" + echo "Repair failed to clear NEEDSREPAIR on the $allowed_writes writes test" fi # success, all done |