aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Fu <vincent.fu@samsung.com>2023-12-28 22:10:43 -0500
committerVincent Fu <vincent.fu@samsung.com>2023-12-28 22:14:43 -0500
commit6f2b92cfba7f5036a66575da61044b3af25cb1d3 (patch)
treede4746d9f63e6cfe3a091a6927a16bf91ac1fb51
parent4883f8f65180ef4e22d6caf4abaf6028faa1af61 (diff)
downloadfio-6f2b92cfba7f5036a66575da61044b3af25cb1d3.tar.gz
t/random_seed: call parent class check_result()
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>
-rwxr-xr-xt/random_seed.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/t/random_seed.py b/t/random_seed.py
index 02187046e..82beca65b 100755
--- a/t/random_seed.py
+++ b/t/random_seed.py
@@ -91,6 +91,10 @@ class TestRR(FioRandTest):
def check_result(self):
"""Check output for allrandrepeat=1."""
+ super().check_result()
+ if not self.passed:
+ return
+
opt = 'randrepeat' if 'randrepeat' in self.fio_opts else 'allrandrepeat'
rr = self.fio_opts[opt]
rand_seeds = self.get_rand_seeds()
@@ -131,6 +135,10 @@ class TestRS(FioRandTest):
def check_result(self):
"""Check output for randseed=something."""
+ super().check_result()
+ if not self.passed:
+ return
+
rand_seeds = self.get_rand_seeds()
randseed = self.fio_opts['randseed']