diff --git a/test/zdtm.py b/test/zdtm.py index 41609a9b2..9fae6e2c8 100755 --- a/test/zdtm.py +++ b/test/zdtm.py @@ -1938,7 +1938,7 @@ class Launcher: self.__taint = taintfd.read() if int(self.__taint, 0) != 0: print("The kernel is tainted: %r" % self.__taint) - if not opts["ignore_taint"]: + if not opts["ignore_taint"] and os.getenv("ZDTM_IGNORE_TAINT") != '1': raise Exception("The kernel is tainted: %r" % self.__taint) def __show_progress(self, msg):