[Qa-jenkins-scm] [jenkins.debian.net] 01/04: torbrowser tests: add currently unused support for tests in German
Holger Levsen
holger at moszumanska.debian.org
Tue Nov 17 23:39:10 UTC 2015
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit 4f9dfd4a0ec04bfb9fc82f06655b27ac42314c4c
Author: Holger Levsen <holger at layer-acht.org>
Date: Tue Nov 17 01:32:43 2015 +0100
torbrowser tests: add currently unused support for tests in German
---
bin/test_torbrowser-launcher.sh | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/bin/test_torbrowser-launcher.sh b/bin/test_torbrowser-launcher.sh
index a8afe74..e483612 100755
--- a/bin/test_torbrowser-launcher.sh
+++ b/bin/test_torbrowser-launcher.sh
@@ -119,6 +119,9 @@ download_and_launch() {
echo export DISPLAY=":$SCREEN.0"
unset http_proxy
unset https_proxy
+ #export LANGUAGE="de"
+ #export LANG="de_DE.UTF-8"
+ #export LC_ALL="de_DE.UTF-8"
echo "$(date -u) - starting awesome."
timeout -k 30m 29m schroot --run-session -c $SESSION --preserve-environment -- awesome &
sleep 2
@@ -171,9 +174,10 @@ download_and_launch() {
cleanup_duplicate_screenshots
exit 1
fi
- # this directory only exist once torbrower has been successfully installed
+ # this directory only exists once torbrower has been successfully installed
+ # (and pattern matching doesnt work because of schroot…)
- STATUS="$(schroot --run-session -c $SESSION -- test ! -d $HOME/.local/share/torbrowser/tbb/x86_64/tor-browser_en-US/Browser || echo $(date -u ) - torbrowser downloaded and installed, configuring tor now. )"
+ STATUS="$(schroot --run-session -c $SESSION -- test ! -d $HOME/.local/share/torbrowser/tbb/x86_64/tor-browser_en-US/Browser -a ! -d $HOME/.local/share/torbrowser/tbb/x86_64/tor-browser_de/Browser || echo $(date -u ) - torbrowser downloaded and installed, configuring tor now. )"
if [ -n "$STATUS" ] ; then
sleep 10
echo "'$STATUS'" | tee | xargs schroot --run-session -c $SESSION --preserve-environment -- notify-send
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list