Merging upstream version 2.12.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
078c0dbcc0
commit
635faa7346
571 changed files with 10718 additions and 2738 deletions
|
@ -57,16 +57,12 @@ class TestNVMeFwLogCmd(TestNVMe):
|
|||
- Returns:
|
||||
- 0 on success, error code on failure.
|
||||
"""
|
||||
err = 0
|
||||
fw_log_cmd = "nvme fw-log " + self.ctrl
|
||||
fw_log_cmd = f"{self.nvme_bin} fw-log {self.ctrl}"
|
||||
proc = subprocess.Popen(fw_log_cmd,
|
||||
shell=True,
|
||||
stdout=subprocess.PIPE,
|
||||
encoding='utf-8')
|
||||
fw_log_output = proc.communicate()[0]
|
||||
print("\n" + fw_log_output + "\n")
|
||||
err = proc.wait()
|
||||
return err
|
||||
return proc.wait()
|
||||
|
||||
def test_fw_log(self):
|
||||
""" Testcase main """
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue