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



commit e0b99581db47b4811ef735813b21fe96ee48373a
Author: Raul Gutierrez Segales <rgs collabora co uk>
Date:   Wed Aug 31 21:27:39 2011 +0100

    e-d-s: make sure we remove GConf's configs between tests
    
    When exercising GConf more than the usual, by creating multiple
    address books or such, we might leave things in an inconsistent
    state that might affect the tests that come afterwards.

 tests/tools/with-session-bus-eds.sh |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/tests/tools/with-session-bus-eds.sh b/tests/tools/with-session-bus-eds.sh
index b5cab54..e35c299 100755
--- a/tests/tools/with-session-bus-eds.sh
+++ b/tests/tools/with-session-bus-eds.sh
@@ -26,6 +26,7 @@ cleanup ()
 {
     eds_stop
     dbus_stop
+    test -d ../data/gconf.d && rm -rf ../data/gconf.d
 }
 
 trap cleanup INT HUP TERM



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