[Xfce4-commits] <midori:master> Use a tmp dir for the web/ custom config folder test case

Christian Dywan noreply at xfce.org
Sat Dec 15 22:54:01 CET 2012


Updating branch refs/heads/master
         to 0cf758db1619e17bddf1400769031bfea398c9b3 (commit)
       from c634bed972831a8b82ba15ccefebebbd93593971 (commit)

commit 0cf758db1619e17bddf1400769031bfea398c9b3
Author: Christian Dywan <christian at twotoasts.de>
Date:   Sat Dec 15 22:52:03 2012 +0100

    Use a tmp dir for the web/ custom config folder test case

 tests/app.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/app.vala b/tests/app.vala
index 53c14cc..c2d2770 100644
--- a/tests/app.vala
+++ b/tests/app.vala
@@ -71,7 +71,7 @@ void app_web () {
 
 void app_web_custom_config () {
     Midori.Paths.Test.reset_runtime_mode ();
-    var browser = Midori.web_app_new ("/tmp/mylittlepony", null, null, null, -1, null);
+    var browser = Midori.web_app_new (Midori.Paths.make_tmp_dir ("custom-configXXXXXX"), null, null, null, -1, null);
     var loop = MainContext.default ();
     do { loop.iteration (true); } while (loop.pending ());
     /* FIXME assert */ (check_sensible_window_size (browser, browser.settings));


More information about the Xfce4-commits mailing list