From 5e0dc0c226daf977539b626eea7e96bd1ccdd348 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Fri, 7 Dec 2012 15:53:19 +0100 Subject: improve debuging options --- bin/cd_tester.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2