]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
tests: Add feature check to nvme_compare_test
authorDennis Maisenbacher <dennis.maisenbacher@wdc.com>
Thu, 17 Oct 2024 12:02:11 +0000 (12:02 +0000)
committerDaniel Wagner <wagi@monom.org>
Tue, 29 Oct 2024 06:37:41 +0000 (07:37 +0100)
commitd9a61c299651621b5f17bfca0f2ddc3d0cbb8c35
tree1952f5118324b582bda78fb5e3c398ba38601d45
parenta54f98beab9cd52beb52c1ed3df2c8ad7ab8079e
tests: Add feature check to nvme_compare_test

Check if the NVM 'compare' command is supported before running the
nvme_compare_test which whould then fail with an 'Invalid Command
Opcode'

Signed-off-by: Dennis Maisenbacher <dennis.maisenbacher@wdc.com>
tests/nvme_compare_test.py