aboutsummaryrefslogtreecommitdiffstats
path: root/tests/runfiles
diff options
context:
space:
mode:
authorPaul Zuchowski <[email protected]>2019-11-27 13:08:18 -0500
committerBrian Behlendorf <[email protected]>2019-11-27 10:08:18 -0800
commit894f6696b4cf7cc2562da159ba5e6e8c806f35de (patch)
tree954bd2a467bf23573297d45d838a712eec7e3aff /tests/runfiles
parent0c46813805f428038f0f5e2541cdab8034c2f082 (diff)
Add display of checksums to zdb -R
The function zdb_read_block (zdb -R) was always intended to have a :c flag which would read the DVA and length supplied by the user, and display the checksum. Since we don't know which checksum goes with the data, we should calculate and display them all. For each checksum in the table, read in the data at the supplied DVA:length, calculate the checksum, and display it. Update the man page and create a zfs test for the new feature. Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Kjeld Schouten <[email protected]> Signed-off-by: Paul Zuchowski <[email protected]> Closes #9607
Diffstat (limited to 'tests/runfiles')
-rw-r--r--tests/runfiles/common.run2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runfiles/common.run b/tests/runfiles/common.run
index d6d3874f6..943bb6b71 100644
--- a/tests/runfiles/common.run
+++ b/tests/runfiles/common.run
@@ -95,7 +95,7 @@ tags = ['functional', 'clean_mirror']
[tests/functional/cli_root/zdb]
tests = ['zdb_001_neg', 'zdb_002_pos', 'zdb_003_pos', 'zdb_004_pos',
- 'zdb_005_pos', 'zdb_006_pos']
+ 'zdb_005_pos', 'zdb_006_pos', 'zdb_checksum']
pre =
post =
tags = ['functional', 'cli_root', 'zdb']