diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/regress/lib/libssl/tlsfuzzer/tlsfuzzer.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/regress/lib/libssl/tlsfuzzer/tlsfuzzer.py b/src/regress/lib/libssl/tlsfuzzer/tlsfuzzer.py index bb8aaa0bd2..95fa0a95ea 100644 --- a/src/regress/lib/libssl/tlsfuzzer/tlsfuzzer.py +++ b/src/regress/lib/libssl/tlsfuzzer/tlsfuzzer.py | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | # $OpenBSD: tlsfuzzer.py,v 1.14 2020/08/15 16:17:55 tb Exp $ | 1 | # $OpenBSD: tlsfuzzer.py,v 1.15 2020/08/17 08:01:53 tb Exp $ |
| 2 | # | 2 | # |
| 3 | # Copyright (c) 2020 Theo Buehler <tb@openbsd.org> | 3 | # Copyright (c) 2020 Theo Buehler <tb@openbsd.org> |
| 4 | # | 4 | # |
| @@ -514,6 +514,11 @@ class TestRunner: | |||
| 514 | else: | 514 | else: |
| 515 | print(f"{script[:68]:<72}", end=" ", flush=True) | 515 | print(f"{script[:68]:<72}", end=" ", flush=True) |
| 516 | start = timer() | 516 | start = timer() |
| 517 | script = os.path.join(self.scriptdir, script) | ||
| 518 | if not os.path.exists(script): | ||
| 519 | # likely an outdated py3-tlsfuzzer package | ||
| 520 | print("MISSING") | ||
| 521 | return | ||
| 517 | test = subprocess.run( | 522 | test = subprocess.run( |
| 518 | ["python3", os.path.join(self.scriptdir, script)] + args, | 523 | ["python3", os.path.join(self.scriptdir, script)] + args, |
| 519 | capture_output=not self.verbose, | 524 | capture_output=not self.verbose, |
