aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ephy-download-test.c
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2012-05-08 19:20:33 +0800
committerXan Lopez <xan@igalia.com>2012-05-08 19:20:33 +0800
commit616fe15f7781921ec5d71fdcda76476137058a0f (patch)
tree5adc6788f018ae05a19f38ddf51d226e4f315795 /tests/ephy-download-test.c
parent6800fb02791cf40681e91a5824e6fde586e5604f (diff)
downloadgsoc2013-epiphany-616fe15f7781921ec5d71fdcda76476137058a0f.tar
gsoc2013-epiphany-616fe15f7781921ec5d71fdcda76476137058a0f.tar.gz
gsoc2013-epiphany-616fe15f7781921ec5d71fdcda76476137058a0f.tar.bz2
gsoc2013-epiphany-616fe15f7781921ec5d71fdcda76476137058a0f.tar.lz
gsoc2013-epiphany-616fe15f7781921ec5d71fdcda76476137058a0f.tar.xz
gsoc2013-epiphany-616fe15f7781921ec5d71fdcda76476137058a0f.tar.zst
gsoc2013-epiphany-616fe15f7781921ec5d71fdcda76476137058a0f.zip
Ensure private profile dirs actually do exist.
Perhaps PRIVATE_PROFILE should implicitly add ENSURE_EXISTS, seems logical. Do this for new.
Diffstat (limited to 'tests/ephy-download-test.c')
-rw-r--r--tests/ephy-download-test.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/ephy-download-test.c b/tests/ephy-download-test.c
index 3fd208af5..dbcd0057d 100644
--- a/tests/ephy-download-test.c
+++ b/tests/ephy-download-test.c
@@ -166,7 +166,9 @@ main (int argc, char *argv[])
ephy_embed_prefs_init ();
_ephy_shell_create_instance (EPHY_EMBED_SHELL_MODE_PRIVATE);
- if (!ephy_file_helpers_init (NULL, EPHY_FILE_HELPERS_PRIVATE_PROFILE, NULL)) {
+ if (!ephy_file_helpers_init (NULL,
+ EPHY_FILE_HELPERS_PRIVATE_PROFILE | EPHY_FILE_HELPERS_ENSURE_EXISTS,
+ NULL)) {
g_debug ("Something wrong happened with ephy_file_helpers_init()");
return -1;
}