summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2012-12-08 16:10:27 +0100
committerHolger Levsen <holger@layer-acht.org>2012-12-08 16:10:27 +0100
commit5effc4fbf8cce09c73255f0524ace9ec6650e031 (patch)
tree6410bd09a9e08e80abbbd8f0fa20036ecde41a64
parentdbe09d4af65feed4069479abef7a9c341961455a (diff)
downloadjenkins.debian.net-5effc4fbf8cce09c73255f0524ace9ec6650e031.tar.xz
no wonder cp fails and the test ends in failure...
-rwxr-xr-xbin/cd_tester.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/cd_tester.sh b/bin/cd_tester.sh
index ccf42c81..a3f6c6a6 100755
--- a/bin/cd_tester.sh
+++ b/bin/cd_tester.sh
@@ -188,6 +188,7 @@ monitor_installation() {
if [ $NR -eq $MAX_RUNS ] ; then
echo Warning: running for 6h, forceing termination.
fi
+ let NR=NR-1
cp snapshot_$(printf "%06d" $NR).ppm snapshot_$(printf "%06d" $NR).ppm.bak
}