aboutsummaryrefslogtreecommitdiff
path: root/rpkid/tests
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2013-05-03 21:51:46 +0000
committerRob Austein <sra@hactrn.net>2013-05-03 21:51:46 +0000
commit84673d8ae650e664c477d5fd3cd4fcd01083d3d1 (patch)
tree9db96f3cd036fd485de2e5765263f901df45269a /rpkid/tests
parent719612bb63774856b0a6a4d9810eb6f79090e5cc (diff)
setproctitle
svn path=/trunk/; revision=5319
Diffstat (limited to 'rpkid/tests')
-rw-r--r--rpkid/tests/yamltest-test-all.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/rpkid/tests/yamltest-test-all.sh b/rpkid/tests/yamltest-test-all.sh
index 2747d007..8daea04e 100644
--- a/rpkid/tests/yamltest-test-all.sh
+++ b/rpkid/tests/yamltest-test-all.sh
@@ -1,7 +1,7 @@
#!/bin/sh -
# $Id$
-# Copyright (C) 2009-2012 Internet Systems Consortium ("ISC")
+# Copyright (C) 2009-2013 Internet Systems Consortium ("ISC")
#
# Permission to use, copy, modify, and distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
@@ -28,11 +28,14 @@ screen -X focus
for yaml in smoketest.*.yaml
do
+ settitle "$yaml: Starting"
rm -rf test rcynic-data
python sql-cleaner.py
- screen python yamltest.py -p yamltest.pid $yaml
now=$(date +%s)
finish=$(($now + $runtime))
+ title="$yaml: will finish at $(date -r $finish)"
+ settitle "$title"
+ screen sh -c "settitle '$title'; exec python yamltest.py -p yamltest.pid $yaml"
date
sleep 180
date
@@ -44,6 +47,7 @@ do
../../rcynic/rcynic-text rcynic.xml
../../utils/scan_roas/scan_roas rcynic-data/authenticated
date
+ echo "$title"
done
if test -r yamltest.pid
then