diff options
author | Rob Austein <sra@hactrn.net> | 2012-01-11 00:48:15 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2012-01-11 00:48:15 +0000 |
commit | 8cd53f7fdc02c73bbc32f32b8a9e21564f298fb1 (patch) | |
tree | 676c1f6bb2578170f6c60243d550c24f095f82b9 /rpkid | |
parent | 57483087b829125c1e6e7b90cdea04284b749a5c (diff) |
Bring up to date for new IRDB
svn path=/branches/tk100/; revision=4149
Diffstat (limited to 'rpkid')
-rw-r--r-- | rpkid/tests/yamltest-test-all.sh | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/rpkid/tests/yamltest-test-all.sh b/rpkid/tests/yamltest-test-all.sh index f6a05237..46f3c59e 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-2010 Internet Systems Consortium ("ISC") +# Copyright (C) 2009-2012 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 @@ -17,18 +17,18 @@ set -x -export TZ=UTC MYRPKI_RNG=$(pwd)/myrpki.rng +export TZ=UTC test -z "$STY" && exec screen -L sh $0 screen -X split screen -X focus -runtime=$((30 * 60)) +: ${runtime=900} for yaml in smoketest.*.yaml do - rm -rf test + rm -rf test rcynic-data python sql-cleaner.py screen python yamltest.py -p yamltest.pid $yaml now=$(date +%s) @@ -42,9 +42,13 @@ do date ../../rcynic/rcynic ../../rcynic/show.sh + ../../utils/scan_roas/scan_roas rcynic-data/authenticated date done - test -r yamltest.pid && kill -INT $(cat yamltest.pid) - sleep 30 + if test -r yamltest.pid + then + kill -INT $(cat yamltest.pid) + sleep 30 + fi make backup done |