1
0
Fork 0

Merging upstream version 2.11.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-16 12:28:30 +01:00
parent 6f6d3e85f8
commit 0f2367f2fa
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
533 changed files with 9033 additions and 4835 deletions

View file

@ -26,11 +26,12 @@ class TestNVMeGetLbaStatusCmd(TestNVMe):
def setUp(self):
""" Pre Section for TestNVMeGetLbaStatusCmd. """
super().setUp()
if not self.get_lba_status_supported():
self.skipTest("because: Optional Admin Command 'Get LBA Status' (OACS->GLSS) not supported")
self.start_lba = 0
self.block_count = 0
self.namespace = 1
self.max_dw = 1
self.action = 11
self.action = 0x11
self.range_len = 1
self.setup_log_dir(self.__class__.__name__)
@ -51,7 +52,7 @@ class TestNVMeGetLbaStatusCmd(TestNVMe):
"""
err = 0
get_lba_status_cmd = "nvme get-lba-status " + self.ctrl + \
" --namespace-id=" + str(self.namespace) + \
" --namespace-id=" + str(self.ns1) + \
" --start-lba=" + str(self.start_lba) + \
" --max-dw=" + str(self.max_dw) + \
" --action=" + str(self.action) + \