summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2013-01-11 15:31:01 +0100
committerHolger Levsen <holger@layer-acht.org>2013-01-11 15:31:01 +0100
commit11a8b8d234d2d17f86a4db83e32c08e867334cea (patch)
tree3a4f22ecca17c2158c4c7132638e4d91481d045d
parentb2ac15034fc4c8cda05c452d22d5a183521ca35f (diff)
downloadjenkins.debian.net-11a8b8d234d2d17f86a4db83e32c08e867334cea.tar.xz
g-i: notice hangs 6min earlier
-rwxr-xr-xbin/g-i-installation.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/g-i-installation.sh b/bin/g-i-installation.sh
index 4a487cb3..33570b2c 100755
--- a/bin/g-i-installation.sh
+++ b/bin/g-i-installation.sh
@@ -538,12 +538,12 @@ monitor_system() {
*) ;;
esac
fi
- # every 100 screenshots, starting from the 400ths one...
- if [ $(($NR % 100)) -eq 0 ] && [ $NR -gt 400 ] ; then
+ # every 100 screenshots, starting from the 300ths one...
+ if [ $(($NR % 100)) -eq 0 ] && [ $NR -gt 300 ] ; then
# from help let: "Exit Status: If the last ARG evaluates to 0, let returns 1; let returns 0 otherwise."
- let OLD=NR-400
+ let OLD=NR-300
PRINTF_OLD=$(printf "%06d" $OLD)
- # test if this screenshot is basically the same as the one 400 screenshots ago
+ # test if this screenshot is basically the same as the one 300 screenshots ago
# 400 pixels difference between to images is tolerated, to ignore updating clocks
PIXEL=$(compare -metric AE snapshot_${PRINTF_NR}.ppm snapshot_${PRINTF_OLD}.ppm /dev/null 2>&1 || true )
# usually this returns an integer, but not always....