From ec49a7bfe23a05fccaea6e564ce3e15b4ff9dd0f Mon Sep 17 00:00:00 2001 From: Petter Reinholdtsen Date: Fri, 1 Feb 2013 22:53:28 +0100 Subject: Raise the time limit from 6 to 8 hours. --- bin/g-i-installation.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'bin') 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 -- cgit v1.2.3-54-g00ecf