[Fusionforge-commits] FusionForge branch Branch_5_2 updated. ddaa4e3840a1eb2ee52325da46c6b10ea12b0a49

Roland Mas lolando at fusionforge.org
Tue Feb 26 11:55:56 CET 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, Branch_5_2 has been updated
       via  ddaa4e3840a1eb2ee52325da46c6b10ea12b0a49 (commit)
      from  3ce98ca9e7845cbdf03c00c410d030a13c034e13 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit ddaa4e3840a1eb2ee52325da46c6b10ea12b0a49
Author: Roland Mas <lolando at debian.org>
Date:   Tue Feb 26 11:55:47 2013 +0100

    Better integration of nscd in the testsuite

diff --git a/tests/func/db_reload.sh b/tests/func/db_reload.sh
index 5dd60d5..33eebdf 100755
--- a/tests/func/db_reload.sh
+++ b/tests/func/db_reload.sh
@@ -98,3 +98,12 @@ then
 else
 	service httpd start
 fi
+
+echo "Flushing/restarting nscd"
+rm -f /var/cache/nscd/* || true
+if type invoke-rc.d 2>/dev/null
+then
+    invoke-rc.d nscd restart || true
+else
+    service nscd restart || true
+fi
diff --git a/tests/scripts/fusionforge-build-and-test-deb.sh b/tests/scripts/fusionforge-build-and-test-deb.sh
index bc4cf49..101fe09 100755
--- a/tests/scripts/fusionforge-build-and-test-deb.sh
+++ b/tests/scripts/fusionforge-build-and-test-deb.sh
@@ -99,7 +99,7 @@ ssh root@$HOST "LANG=C a2dissite default ; LANG=C invoke-rc.d apache2 reload"
 ssh root@$HOST "(echo [core];echo use_ssl=no) > /etc/gforge/config.ini.d/zzz-buildbot.ini"
 ssh root@$HOST "(echo [moinmoin];echo use_frame=no) >> /etc/gforge/config.ini.d/zzz-buildbot.ini"
 ssh root@$HOST "(echo [mediawiki];echo unbreak_frames=yes) >> /etc/gforge/config.ini.d/zzz-buildbot.ini"
-ssh root@$HOST "service nscd stop"
+ssh root@$HOST "service nscd restart"
 
 # Dump database
 echo "Dump freshly installed database"

-----------------------------------------------------------------------

Summary of changes:
 tests/func/db_reload.sh                         |    9 +++++++++
 tests/scripts/fusionforge-build-and-test-deb.sh |    2 +-
 2 files changed, 10 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list