1 |
patrick 09/01/31 12:30:08 |
2 |
|
3 |
Added: pkgcore-sandbox.patch |
4 |
Log: |
5 |
Fixing test failure, patch by Brian Harring. Fixes #216942 |
6 |
(Portage version: 2.2_rc23/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 sys-apps/pkgcore/files/pkgcore-sandbox.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pkgcore/files/pkgcore-sandbox.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pkgcore/files/pkgcore-sandbox.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: pkgcore-sandbox.patch |
15 |
=================================================================== |
16 |
=== modified file 'pkgcore/test/test_spawn.py' |
17 |
--- pkgcore/test/test_spawn.py 2008-08-12 23:39:01 +0000 |
18 |
+++ pkgcore/test/test_spawn.py 2009-01-31 03:16:51 +0000 |
19 |
@@ -78,7 +78,7 @@ |
20 |
self.assertTrue(ret[1], msg="no output; exit code was %s; script " |
21 |
"location %s" % (ret[0], fp)) |
22 |
self.assertIn("libsandbox.so", [os.path.basename(x.strip()) for x in |
23 |
- ret[1][0].split(":")]) |
24 |
+ ret[1][0].split()]) |
25 |
os.unlink(fp) |
26 |
|
27 |
|
28 |
@@ -102,7 +102,7 @@ |
29 |
os.rmdir(dpath) |
30 |
self.assertIn("libsandbox.so", [os.path.basename(x.strip()) for x in |
31 |
spawn.spawn_get_output( |
32 |
- fp, spawn_type=spawn.spawn_sandbox, chdir='/')[1][0].split(":")]) |
33 |
+ fp, spawn_type=spawn.spawn_sandbox, chdir='/')[1][0].split()]) |
34 |
os.unlink(fp) |
35 |
finally: |
36 |
if cwd is not None: |