summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2012-12-07 15:53:19 +0100
committerHolger Levsen <holger@layer-acht.org>2012-12-07 15:53:19 +0100
commit5e0dc0c226daf977539b626eea7e96bd1ccdd348 (patch)
treec2c5083f6008624669917ac697d277da9e3c3699 /bin
parentb9b88f8fe3903f2f2327fa00ea6a67414da5e2b2 (diff)
downloadjenkins.debian.net-5e0dc0c226daf977539b626eea7e96bd1ccdd348.tar.xz
improve debuging options
Diffstat (limited to 'bin')
-rwxr-xr-xbin/cd_tester.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/cd_tester.sh b/bin/cd_tester.sh
index fcd467be..8db295a6 100755
--- a/bin/cd_tester.sh
+++ b/bin/cd_tester.sh
@@ -55,7 +55,7 @@ cleanup_all() {
set +e
cd $RESULTS
echo -n "Last screenshot: "
- (ls -t1 snapshot* | head -1) || true
+ (ls -t1 | head -1) || true
#
# create video
#
@@ -163,6 +163,7 @@ monitor_installation() {
if [ $NR -eq $MAX_RUNS ] ; then
echo Warning: running for 6h, forceing termination.
fi
+ cp snapshot_$(printf "%06d" $NR).ppm snapshot_$(printf "%06d" $NR).ppm.bak
}
trap cleanup_all INT TERM EXIT