[Fusionforge-commits] FusionForge branch master updated. v6.1-158-gf2c0f2a

Franck Villaume nerville at libremir.placard.fr.eu.org
Mon Jan 7 14:30:07 CET 2019


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, master has been updated
       via  f2c0f2a0854fbb47eeb816959071f2b27b5bf2d6 (commit)
      from  e7a232a39077e4dd901602cdf3cb1fb133725050 (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 -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=f2c0f2a0854fbb47eeb816959071f2b27b5bf2d6

commit f2c0f2a0854fbb47eeb816959071f2b27b5bf2d6
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Mon Jan 7 13:29:52 2019 +0000

    add missing geckodriver

diff --git a/tests/func_tests.sh b/tests/func_tests.sh
index d76afc6..e55c641 100755
--- a/tests/func_tests.sh
+++ b/tests/func_tests.sh
@@ -96,6 +96,18 @@ install_selenium() {
 	http_proxy=$PROXY wget -c $SELENIUMURL \
 		-O /usr/share/selenium/selenium-server.jar
 
+	# Install GeckoDriver
+	GECKODRIVERMAJOR=0
+	GECKODRIVERMINOR=19
+	GECKODRIVERMICRO=1
+	GECKORDRIVERURL=https://github.com/mozilla/geckodriver/releases/download/v$GECKODRIVERMAJOR.$GECKODRIVERMINOR.$GECKODRIVERMICRO/geckodriver-v$GECKODRIVERMAJOR.$GECKODRIVERMINOR.$GECKODRIVERMICRO-linux64.tar.gz
+	mkdir -p /usr/share/geckodriver/
+	http_proxy=$PROXY wget -c $GECKODRIVERURL \
+                -O /usr/share/geckodriver/geckodriver.tar.gz
+
+	tar -zxf /usr/share/geckodriver/geckodriver.tar.gz
+	chmod +x /usr/share/geckodriver/geckodriver
+
 	# Add alias to /etc/hosts
 	if ! grep -q ^$(hostname -i) /etc/hosts ; then
 		echo $(hostname -i) $(hostname -f) $(hostname)>> /etc/hosts
@@ -195,7 +207,7 @@ EOF
 echo "Starting Selenium"
 killall -9 java || true
 timeout=60
-PATH=/usr/lib/iceweasel:/usr/lib/firefox-esr:/usr/lib64/firefox:$PATH LANG=C java -jar /usr/share/selenium/selenium-server.jar -enablePassThrough false &
+PATH=/usr/share/geckodriver:/usr/lib/iceweasel:/usr/lib/firefox-esr:/usr/lib64/firefox:$PATH LANG=C java -jar /usr/share/selenium/selenium-server.jar -enablePassThrough false &
 pid=$!
 i=0
 while [ $i -lt $timeout ] && ! netstat -tnl 2>/dev/null | grep -q :4444 && kill -0 $pid 2>/dev/null; do

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

Summary of changes:
 tests/func_tests.sh | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list