diff options
author | Darrick J. Wong <djwong@kernel.org> | 2024-02-06 18:19:13 -0800 |
---|---|---|
committer | Zorro Lang <zlang@kernel.org> | 2024-02-09 13:27:17 +0800 |
commit | 76bfc02c31b86e5c730d33c2c64723b364a5926d (patch) | |
tree | e6c56f902dc72683a17b3c6042bdd9a0d874d23c | |
parent | 9c01c6997c3016017d101a0ddcfa0cc271654926 (diff) | |
download | xfstests-dev-76bfc02c31b86e5c730d33c2c64723b364a5926d.tar.gz |
xfs/503: test metadump obfuscation, not progressbars
The -g switch to xfs_metadump turns on progress reporting, but nothing
in this test actually checks that it works.
The -o switch turns off obfuscation, which is much more critical to
support teams.
Change this test to check -o and -ao instead of -g or -ag.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Zorro Lang <zlang@kernel.org>
-rwxr-xr-x | tests/xfs/503 | 10 | ||||
-rw-r--r-- | tests/xfs/503.out | 4 |
2 files changed, 7 insertions, 7 deletions
diff --git a/tests/xfs/503 b/tests/xfs/503 index 854cc74bbe..07d243bc06 100755 --- a/tests/xfs/503 +++ b/tests/xfs/503 @@ -47,16 +47,16 @@ metadump_file=$testdir/scratch.md copy_file=$testdir/copy.img echo "metadump and mdrestore" -_xfs_verify_metadumps '-a -o' +_xfs_verify_metadumps echo "metadump a and mdrestore" _xfs_verify_metadumps '-a' -echo "metadump g and mdrestore" -_xfs_verify_metadumps '-g' >> $seqres.full +echo "metadump o and mdrestore" +_xfs_verify_metadumps '-o' -echo "metadump ag and mdrestore" -_xfs_verify_metadumps '-a -g' >> $seqres.full +echo "metadump ao and mdrestore" +_xfs_verify_metadumps '-a -o' echo copy $XFS_COPY_PROG $SCRATCH_DEV $copy_file >> $seqres.full diff --git a/tests/xfs/503.out b/tests/xfs/503.out index 496f2516e4..5e7488456d 100644 --- a/tests/xfs/503.out +++ b/tests/xfs/503.out @@ -2,7 +2,7 @@ QA output created by 503 Format and populate metadump and mdrestore metadump a and mdrestore -metadump g and mdrestore -metadump ag and mdrestore +metadump o and mdrestore +metadump ao and mdrestore copy recopy |