t/strided: call parent class check_result()
authorVincent Fu <vincent.fu@samsung.com>
Fri, 29 Dec 2023 03:12:20 +0000 (22:12 -0500)
committerVincent Fu <vincent.fu@samsung.com>
Fri, 29 Dec 2023 03:19:44 +0000 (22:19 -0500)
Make sure we call the parent class' check_result() method to check the
return code, stderr output, etc.

Signed-off-by: Vincent Fu <vincent.fu@samsung.com>
t/strided.py

index b7655e1e92c9388b3ef9f0a0d165330b9c475415..b8396aef69b302c678d2fbab140f43d489bb11d2 100755 (executable)
@@ -71,6 +71,10 @@ class StridedTest(FioJobCmdTest):
         super().setup(fio_args)
 
     def check_result(self):
+        super().check_result()
+        if not self.passed:
+            return
+
         zonestart = 0 if 'offset' not in self.fio_opts else self.fio_opts['offset']
         iospersize = self.fio_opts['zonesize'] / self.fio_opts['bs']
         iosperrange = self.fio_opts['zonerange'] / self.fio_opts['bs']