aboutsummaryrefslogtreecommitdiffstats
path: root/tests/afl.py
diff options
context:
space:
mode:
authorGavin Howard <yzena.tech@gmail.com>2018-10-09 13:25:12 -0600
committerGavin Howard <yzena.tech@gmail.com>2018-10-09 13:25:12 -0600
commit026df60caabd913b923355a44449e637ce0fae45 (patch)
tree3cda355e3e72d1515c3dadd286e1b3673b231267 /tests/afl.py
parent695b0382ac61dcd23678d6386627b22bce057154 (diff)
downloadplatform_external_bc-026df60caabd913b923355a44449e637ce0fae45.tar.gz
platform_external_bc-026df60caabd913b923355a44449e637ce0fae45.tar.bz2
platform_external_bc-026df60caabd913b923355a44449e637ce0fae45.zip
Fix a bug in the afl script
Diffstat (limited to 'tests/afl.py')
-rwxr-xr-xtests/afl.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/afl.py b/tests/afl.py
index 4c2f1abc..4e5cceeb 100755
--- a/tests/afl.py
+++ b/tests/afl.py
@@ -37,7 +37,7 @@ def run_test(exe, exebase, tout, indata, out, file, type, test):
p = subprocess.run(exe, timeout=tout, input=indata, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
check_crash(exebase, out, p.returncode, file, type, test)
except subprocess.TimeoutExpired:
- print("\n {} timed out. Continuing...\n")
+ print("\n {} timed out. Continuing...\n".format(exebase))
def get_children(dir, get_files):
dirs = []
@@ -55,7 +55,7 @@ if __name__ != "__main__":
script = sys.argv[0]
testdir = os.path.dirname(script)
-tout = 3
+tout = 5
if len(sys.argv) < 2:
usage()