summaryrefslogtreecommitdiff
path: root/www-client/epiphany/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-08-18 18:16:17 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-08-18 18:16:17 +0100
commitfc637fb28da700da71ec2064d65ca5a7a31b9c6c (patch)
tree326613a08f25851c388715e205576a2e7d25dc4f /www-client/epiphany/files
parentb24bd25253fe093f722ab576d29fdc41d04cb1ee (diff)
gentoo resync : 18.08.2019
Diffstat (limited to 'www-client/epiphany/files')
-rw-r--r--www-client/epiphany/files/var-tmp-tests.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/www-client/epiphany/files/var-tmp-tests.patch b/www-client/epiphany/files/var-tmp-tests.patch
new file mode 100644
index 000000000000..f2a0d97aaf96
--- /dev/null
+++ b/www-client/epiphany/files/var-tmp-tests.patch
@@ -0,0 +1,13 @@
+diff --git a/tests/ephy-file-helpers-test.c b/tests/ephy-file-helpers-test.c
+index b3139b67e..10c884ea5 100644
+--- a/tests/ephy-file-helpers-test.c
++++ b/tests/ephy-file-helpers-test.c
+@@ -87,7 +87,7 @@ test_ephy_file_helpers_init (void)
+ if (keep_dir) {
+ /* As a safety measure, only try recursive delete on paths
+ * prefixed with /tmp. */
+- if (g_str_has_prefix (tmp_dir, "/tmp"))
++ if (g_str_has_prefix (tmp_dir, "/tmp") || g_str_has_prefix (tmp_dir, "/var/tmp"))
+ g_assert_true (ephy_file_delete_dir_recursively (tmp_dir, NULL));
+ else
+ g_warning ("INIT: dangerous path returned as tmp_dir: %s", tmp_dir);