Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/python-afl/files/
Date: Tue, 29 Aug 2017 20:18:33
Message-Id: 1504037893.a19b82681ca646b945bd31be6349436bd626e3ba.monsieurp@gentoo
1 commit: a19b82681ca646b945bd31be6349436bd626e3ba
2 Author: Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com>
3 AuthorDate: Wed Aug 16 08:36:04 2017 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Tue Aug 29 20:18:13 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a19b8268
7
8 dev-python/python-afl: remove unused patch.
9
10 Closes: https://github.com/gentoo/gentoo/pull/5437
11
12 .../python-afl/files/python-afl-0.6-fix-test.patch | 41 ----------------------
13 1 file changed, 41 deletions(-)
14
15 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
16 deleted file mode 100644
17 index 1243385b811..00000000000
18 --- a/dev-python/python-afl/files/python-afl-0.6-fix-test.patch
19 +++ /dev/null
20 @@ -1,41 +0,0 @@
21 -From 4c138687008a3d212906367a315ea79b6f6727c9 Mon Sep 17 00:00:00 2001
22 -From: Jakub Wilk <jwilk@×××××.net>
23 -Date: Thu, 29 Jun 2017 20:54:08 +0200
24 -Subject: [PATCH] tests/tools: fake $PWD so that is starts with ///.
25 -
26 -This is needed to skip overzealous /tmp checks in afl-cmap.
27 -
28 -Fixes:
29 -
30 - ======================================================================
31 - ERROR: tests.test_cmin.test
32 - ----------------------------------------------------------------------
33 - Traceback (most recent call last):
34 - File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
35 - self.test(*self.arg)
36 - File "/tmp/.../tests/test_cmin.py", line 68, in test
37 - b'1',
38 - File "/tmp/.../tests/test_cmin.py", line 51, in run_afl_cmin
39 - run(cmdline)
40 - File "/tmp/.../tests/tools.py", line 148, in run
41 - raise ipc.CalledProcessError(child.returncode, cmd[0])
42 - CalledProcessError: Command 'py-afl-cmin' returned non-zero exit status 1
43 - -------------------- >> begin captured stdout << ---------------------
44 - ...
45 - [-] Error: do not use this script in /tmp or /var/tmp.
46 ----
47 - tests/tools.py | 1 +
48 - 1 file changed, 1 insertion(+)
49 -
50 -diff --git a/tests/tools.py b/tests/tools.py
51 -index 0c9240c..f3ebab1 100644
52 ---- a/tests/tools.py
53 -+++ b/tests/tools.py
54 -@@ -131,6 +131,7 @@ def clean_environ():
55 - os.environ['AFL_SKIP_CPUFREQ'] = '1'
56 - os.environ['AFL_I_DONT_CARE_ABOUT_MISSING_CRASHES'] = '1'
57 - os.environ['AFL_NO_AFFINITY'] = '1'
58 -+ os.environ['PWD'] = '//' + os.getcwd()
59 -
60 - def run(cmd, stdin='', xstatus=0):
61 - child = ipc.Popen(