1
0
Fork 0

Merging upstream version 2.12.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-03-20 08:10:44 +01:00
parent 078c0dbcc0
commit 635faa7346
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
571 changed files with 10718 additions and 2738 deletions

View file

@ -45,16 +45,12 @@ class TestNVMeLbaStatLogCmd(TestNVMe):
- Returns:
- 0 on success, error code on failure.
"""
err = 0
lba_stat_log_cmd = "nvme lba-status-log " + self.ctrl
lba_stat_log_cmd = f"{self.nvme_bin} lba-status-log {self.ctrl}"
proc = subprocess.Popen(lba_stat_log_cmd,
shell=True,
stdout=subprocess.PIPE,
encoding='utf-8')
lba_stat_log_output = proc.communicate()[0]
print("\n" + lba_stat_log_output + "\n")
err = proc.wait()
return err
return proc.wait()
def test_lba_stat_log(self):
""" Testcase main """