From 6f2b92cfba7f5036a66575da61044b3af25cb1d3 Mon Sep 17 00:00:00 2001 From: Vincent Fu Date: Thu, 28 Dec 2023 22:10:43 -0500 Subject: [PATCH] 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 --- t/random_seed.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/t/random_seed.py b/t/random_seed.py index 02187046..82beca65 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'] -- 2.25.1