eva         15/06/09 14:34:35

  Added:                epiphany-3.16.0-unittest-1.patch
  Log:
  Version bump for Gnome 3.16.
  
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 
C6085806)

Revision  Changes    Path
1.1                  www-client/epiphany/files/epiphany-3.16.0-unittest-1.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/epiphany/files/epiphany-3.16.0-unittest-1.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/epiphany/files/epiphany-3.16.0-unittest-1.patch?rev=1.1&content-type=text/plain

Index: epiphany-3.16.0-unittest-1.patch
===================================================================
>From 7ed4a68e2106480f0984703f70b7c25734803161 Mon Sep 17 00:00:00 2001
From: Gilles Dartiguelongue <[email protected]>
Date: Sun, 10 May 2015 17:35:57 +0200
Subject: [PATCH 2/3] Gentoo tests run in ${PORTAGE_TMPDIR} which is not
 guaranteed to be /tmp

---
 tests/ephy-file-helpers-test.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/tests/ephy-file-helpers-test.c b/tests/ephy-file-helpers-test.c
index 43d0009..0fcb585 100644
--- a/tests/ephy-file-helpers-test.c
+++ b/tests/ephy-file-helpers-test.c
@@ -89,12 +89,7 @@ test_ephy_file_helpers_init (void)
 
     /* Cleanup dir left behind. */
     if (keep_dir) {
-      /* As a safety measure, only try recursive delete on paths
-       * prefixed with /tmp. */
-      if (g_str_has_prefix (tmp_dir, "/tmp"))
         g_assert (ephy_file_delete_dir_recursively (tmp_dir, NULL));
-      else
-        g_warning ("INIT: dangerous path returned as tmp_dir: %s", tmp_dir);
     }
 
     g_free (tmp_dir);
-- 
2.3.6





Reply via email to