[Qa-jenkins-scm] [jenkins.debian.net] 01/01: torbrowser-launcher tests: fix schroot creation
Holger Levsen
holger at moszumanska.debian.org
Sat Nov 14 14:36:30 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 3fbfd869dd0f6993efb66e1dc3ffac38dda7fe5e
Author: Holger Levsen <holger at layer-acht.org>
Date: Sat Nov 14 15:36:22 2015 +0100
torbrowser-launcher tests: fix schroot creation
---
bin/schroot-create.sh | 9 ++++++++-
bin/test_torbrowser-launcher.sh | 4 ++--
2 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/bin/schroot-create.sh b/bin/schroot-create.sh
index 4f572f2..c8a5c79 100755
--- a/bin/schroot-create.sh
+++ b/bin/schroot-create.sh
@@ -21,6 +21,7 @@ if [ $# -lt 2 ]; then
exit 1
fi
+declare -a EXTRA_SOURCES
if [ "$1" = "backports" ] ; then
EXTRA_SOURCES[2]="deb $MIRROR ${SUITE}-backports main"
EXTRA_SOURCES[3]="deb-src $MIRROR ${SUITE}-backports main"
@@ -34,6 +35,13 @@ if [ "$1" = "reproducible" ] ; then
shift
fi
+if [ "$1" = "torbrowser-launcher" ] ; then
+ EXTRA_SOURCES[4]="deb $MIRROR ${SUITE} contrib"
+ EXTRA_SOURCES[5]="deb-src $MIRROR ${SUITE} contrib"
+ shift
+fi
+
+
TARGET="$1"
shift
SUITE="$1"
@@ -41,7 +49,6 @@ shift
TMPLOG=$(mktemp --tmpdir=$TMPDIR schroot-create-XXXXXXXX)
-declare -a EXTRA_SOURCES
if [ "$SUITE" = "experimental" ] ; then
# experimental cannot be bootstrapped
SUITE=sid
diff --git a/bin/test_torbrowser-launcher.sh b/bin/test_torbrowser-launcher.sh
index 68384ea..0bb46d1 100755
--- a/bin/test_torbrowser-launcher.sh
+++ b/bin/test_torbrowser-launcher.sh
@@ -39,9 +39,9 @@ cd $TMPDIR
SUITE=$1
echo "$(date -u) - testing torbrowser-launcher on $SUITE now."
#
-# this is WIP in an early stage (and it will not work as X aint configured yet)
+# this is WIP in an early stage (and it won't work as X ain't configured yet)
# - test package build from git (todo)
-# - test package from the archive (done)
+# - test package from the archive (in progress)
# - test updates (todo)
#
first_test
--
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