1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
|
Description: point subprocess to wrapper script in tests
Author: Daniel Stender <stender@debian.org>
Forwarded: no
Last-Update: 2016-08-17
--- a/tests/test_fuzz.py
+++ b/tests/test_fuzz.py
@@ -96,7 +96,7 @@ def _test_fuzz(workdir, target, dumb=False):
os.environ['AFL_NO_AFFINITY'] = '1'
with open('/dev/null', 'wb') as devnull:
with open(workdir + '/stdout', 'wb') as stdout:
- cmdline = ['py-afl-fuzz', '-i', input_dir, '-o', output_dir, '--', sys.executable, target, token]
+ cmdline = ['./py-afl-fuzz', '-i', input_dir, '-o', output_dir, '--', sys.executable, target, token]
if dumb:
cmdline[1:1] = ['-n']
print('$ ' + ' '.join(shell_quote(arg) for arg in cmdline))
|