From: Vincent Fu Date: Fri, 29 Dec 2023 03:10:43 +0000 (-0500) Subject: t/random_seed: call parent class check_result() X-Git-Tag: fio-3.37~72 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=6f2b92cfba7f5036a66575da61044b3af25cb1d3;p=fio.git 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 --- 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']