summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorPetter Reinholdtsen <pere@hungry.com>2013-02-01 22:53:28 +0100
committerHolger Levsen <holger@layer-acht.org>2013-02-04 13:10:24 +0100
commitec49a7bfe23a05fccaea6e564ce3e15b4ff9dd0f (patch)
tree425fd13206c484ce715ac9801886f7680578a35a /bin
parenta3614bb906f7df36c2befad6c04d203521c262dc (diff)
downloadjenkins.debian.net-ec49a7bfe23a05fccaea6e564ce3e15b4ff9dd0f.tar.xz
Raise the time limit from 6 to 8 hours.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/g-i-installation.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/g-i-installation.sh b/bin/g-i-installation.sh
index 536350b7..983cfd29 100755
--- a/bin/g-i-installation.sh
+++ b/bin/g-i-installation.sh
@@ -499,9 +499,11 @@ monitor_system() {
TRIGGER_NR=0
cd $RESULTS
sleep 4
- echo "Taking screenshots every 2 seconds now, until qemu ends for whatever reasons or 6h have passed or if the test seems to hang."
+ hourlimit=8 # hours
+ echo "Taking screenshots every 2 seconds now, until qemu ends for whatever reasons or $hourlimit hours have passed or if the test seems to hang."
echo
- let MAX_RUNS=NR+10800
+ timelimit=$(( $hourlimit * 60 * 60 / 2 ))
+ let MAX_RUNS=NR+$timelimit
while [ $NR -lt $MAX_RUNS ] ; do
#
# break if qemu-system has finished