[folks] e-d-s: make sure we also remove GConf's configs before running tests



commit a5faebb1d5a220c35222768524a3a71dab3c7d09
Author: Raul Gutierrez Segales <rgs collabora co uk>
Date:   Fri Sep 2 11:19:59 2011 +0100

    e-d-s: make sure we also remove GConf's configs before running tests
    
    Commit e0b99581 tries to remove GConf's config *after* a test
    execution. But if the test fails, clean up might not happen. So
    this commit adds try to remove configs *before* we start.

 tests/tools/with-session-bus-eds.sh |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/tests/tools/with-session-bus-eds.sh b/tests/tools/with-session-bus-eds.sh
index e35c299..e525346 100755
--- a/tests/tools/with-session-bus-eds.sh
+++ b/tests/tools/with-session-bus-eds.sh
@@ -31,6 +31,9 @@ cleanup ()
 
 trap cleanup INT HUP TERM
 
+# In case the previous run left some junk around...
+test -d ../data/gconf.d && rm -rf ../data/gconf.d
+
 eds_init_settings
 dbus_init 0
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]