public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-python/python-afl/files/
@ 2017-08-29 20:18 Patrice Clement
  0 siblings, 0 replies; only message in thread
From: Patrice Clement @ 2017-08-29 20:18 UTC (permalink / raw
  To: gentoo-commits

commit:     a19b82681ca646b945bd31be6349436bd626e3ba
Author:     Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Wed Aug 16 08:36:04 2017 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Tue Aug 29 20:18:13 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a19b8268

dev-python/python-afl: remove unused patch.

Closes: https://github.com/gentoo/gentoo/pull/5437

 .../python-afl/files/python-afl-0.6-fix-test.patch | 41 ----------------------
 1 file changed, 41 deletions(-)

diff --git a/dev-python/python-afl/files/python-afl-0.6-fix-test.patch b/dev-python/python-afl/files/python-afl-0.6-fix-test.patch
deleted file mode 100644
index 1243385b811..00000000000
--- a/dev-python/python-afl/files/python-afl-0.6-fix-test.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From 4c138687008a3d212906367a315ea79b6f6727c9 Mon Sep 17 00:00:00 2001
-From: Jakub Wilk <jwilk@jwilk.net>
-Date: Thu, 29 Jun 2017 20:54:08 +0200
-Subject: [PATCH] tests/tools: fake $PWD so that is starts with ///.
-
-This is needed to skip overzealous /tmp checks in afl-cmap.
-
-Fixes:
-
-    ======================================================================
-    ERROR: tests.test_cmin.test
-    ----------------------------------------------------------------------
-    Traceback (most recent call last):
-      File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
-        self.test(*self.arg)
-      File "/tmp/.../tests/test_cmin.py", line 68, in test
-        b'1',
-      File "/tmp/.../tests/test_cmin.py", line 51, in run_afl_cmin
-        run(cmdline)
-      File "/tmp/.../tests/tools.py", line 148, in run
-        raise ipc.CalledProcessError(child.returncode, cmd[0])
-    CalledProcessError: Command 'py-afl-cmin' returned non-zero exit status 1
-    -------------------- >> begin captured stdout << ---------------------
-    ...
-    [-] Error: do not use this script in /tmp or /var/tmp.
----
- tests/tools.py | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/tests/tools.py b/tests/tools.py
-index 0c9240c..f3ebab1 100644
---- a/tests/tools.py
-+++ b/tests/tools.py
-@@ -131,6 +131,7 @@ def clean_environ():
-     os.environ['AFL_SKIP_CPUFREQ'] = '1'
-     os.environ['AFL_I_DONT_CARE_ABOUT_MISSING_CRASHES'] = '1'
-     os.environ['AFL_NO_AFFINITY'] = '1'
-+    os.environ['PWD'] = '//' + os.getcwd()
- 
- def run(cmd, stdin='', xstatus=0):
-     child = ipc.Popen(


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2017-08-29 20:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-29 20:18 [gentoo-commits] repo/gentoo:master commit in: dev-python/python-afl/files/ Patrice Clement

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox