t/verify.py: Add verify test script
authorVincent Fu <vincent.fu@samsung.com>
Mon, 27 Jan 2025 19:46:54 +0000 (19:46 +0000)
committerVincent Fu <vincentfu@gmail.com>
Thu, 6 Mar 2025 18:58:43 +0000 (13:58 -0500)
commit2189d6626bd48d071a10548d5cebc031888a3144
treec9ec4eddeb9ebe768e5ad557c3169aaf43912aa1
parentdeaded76c5233798a813fd9f00a267075508238f
t/verify.py: Add verify test script

The script contains three sets of tests. The first set of tests
exercises fio's decision making about checking the verify header's
sequence number and random seed. The second set of tests is aimed at
making sure that the checksum functions can detect data mismatches. The
final set of tests exercise fio's verify-related options such as
verify_backlog and verify_inteval.

This test script includes two checksum lists. The first list (default)
contains a subset of the checksum methods offered by fio, whereas the
second list contains the full set of checksum methods. The second, full
set can be run by specifying -c or --complete. Testing all of the
checksum methods can take a long time.

Signed-off-by: Vincent Fu <vincent.fu@samsung.com>
Signed-off-by: Ankit Kumar <ankit.kumar@samsung.com>
t/verify.py [new file with mode: 0755]