[Python-apps-commits] r14275 - in packages/python-afl/trunk/debian (2 files)
stender at users.alioth.debian.org
stender at users.alioth.debian.org
Thu Jul 20 14:33:23 UTC 2017
Date: Thursday, July 20, 2017 @ 14:33:22
Author: stender
Revision: 14275
unfuzz and expand tests-point-to-wrapper.diff
Modified:
packages/python-afl/trunk/debian/changelog
packages/python-afl/trunk/debian/patches/tests-point-to-wrapper.diff
Modified: packages/python-afl/trunk/debian/changelog
===================================================================
--- packages/python-afl/trunk/debian/changelog 2017-07-20 14:22:12 UTC (rev 14274)
+++ packages/python-afl/trunk/debian/changelog 2017-07-20 14:33:22 UTC (rev 14275)
@@ -1,8 +1,9 @@
python-afl (0.6-1) UNRELEASED; urgency=medium
- * New upstream release.
+ * New upstream release:
+ + unfuzz and expand tests-point-to-wrapper.diff.
- -- Daniel Stender <stender at debian.org> Thu, 20 Jul 2017 16:18:32 +0200
+ -- Daniel Stender <stender at debian.org> Thu, 20 Jul 2017 16:27:40 +0200
python-afl (0.5.5-1) unstable; urgency=medium
Modified: packages/python-afl/trunk/debian/patches/tests-point-to-wrapper.diff
===================================================================
--- packages/python-afl/trunk/debian/patches/tests-point-to-wrapper.diff 2017-07-20 14:22:12 UTC (rev 14274)
+++ packages/python-afl/trunk/debian/patches/tests-point-to-wrapper.diff 2017-07-20 14:33:22 UTC (rev 14275)
@@ -1,12 +1,12 @@
Description: point subprocess to wrapper script in tests
Author: Daniel Stender <stender at debian.org>
Forwarded: no
-Last-Update: 2016-08-17
+Last-Update: 2017-07-20
--- 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'
+@@ -93,7 +93,7 @@ def _test_fuzz(workdir, target, dumb=False):
+ n_paths = 0
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]
@@ -14,3 +14,37 @@
if dumb:
cmdline[1:1] = ['-n']
print('$ ' + ' '.join(shell_quote(arg) for arg in cmdline))
+--- a/tests/test_cmin.py
++++ b/tests/test_cmin.py
+@@ -44,7 +44,7 @@ def run_afl_cmin(input, xoutput, crashes_only=False):
+ path = '{dir}/{n}'.format(dir=indir, n=n)
+ with open(path, 'wb') as file:
+ file.write(blob)
+- cmdline = ['py-afl-cmin', '-i', indir, '-o', outdir, '--', sys.executable, target]
++ cmdline = ['./py-afl-cmin', '-i', indir, '-o', outdir, '--', sys.executable, target]
+ if crashes_only:
+ cmdline[1:1] = ['-C']
+ print(cmdline)
+ --- a/tests/test_showmap.py
+--- a/tests/test_showmap.py
++++ b/tests/test_showmap.py
+@@ -37,7 +37,7 @@ def run_afl_showmap(stdin, xstdout=None, xstatus=0):
+ with tempdir() as workdir:
+ outpath = workdir + '/out'
+ (stdout, stderr) = run(
+- ['py-afl-showmap', '-o', outpath, sys.executable, target],
++ ['./py-afl-showmap', '-o', outpath, sys.executable, target],
+ stdin=stdin,
+ xstatus=xstatus,
+ )
+--- a/tests/test_tmin.py
++++ b/tests/test_tmin.py
+@@ -39,7 +39,7 @@ def run_afl_tmin(input, xoutput, xstatus=0):
+ file.write(input)
+ outpath = workdir + '/out'
+ run(
+- ['py-afl-tmin', '-i', inpath, '-o', outpath, '--', sys.executable, target],
++ ['./py-afl-tmin', '-i', inpath, '-o', outpath, '--', sys.executable, target],
+ xstatus=xstatus,
+ )
+ with open(outpath, 'rb') as file:
More information about the Python-apps-commits
mailing list