diff options
author | Rob Austein <sra@hactrn.net> | 2010-04-14 13:19:14 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2010-04-14 13:19:14 +0000 |
commit | dbc55c697025a0dd6125249f29cac5cc39c08a28 (patch) | |
tree | 2e07e98ca78f25720a3a33b5f04ba5e490867c4c /myrpki | |
parent | 6de7e97bde9d45929c226d3ef4a12b72598bd7b1 (diff) |
testbed.py => smoketest.py
svn path=/myrpki/test-all.sh; revision=3199
Diffstat (limited to 'myrpki')
-rw-r--r-- | myrpki/test-all.sh | 2 | ||||
-rw-r--r-- | myrpki/yamltest.py | 18 |
2 files changed, 10 insertions, 10 deletions
diff --git a/myrpki/test-all.sh b/myrpki/test-all.sh index 35026f7e..03d4f5b8 100644 --- a/myrpki/test-all.sh +++ b/myrpki/test-all.sh @@ -24,7 +24,7 @@ test -z "$STY" && exec screen -L sh $0 screen -X split screen -X focus -for i in ../rpkid/testbed.*.yaml +for i in ../rpkid/smoketest.*.yaml do rm -rf test python sql-cleaner.py diff --git a/myrpki/yamltest.py b/myrpki/yamltest.py index f6a82e09..4c73a223 100644 --- a/myrpki/yamltest.py +++ b/myrpki/yamltest.py @@ -1,17 +1,17 @@ """ Test framework, using the same YAML test description format as -testbed.py, but using the myrpki.py and myirbe.py tools to do all the -back-end work. Reads YAML file, generates .csv and .conf files, runs -daemons and waits for one of them to exit. +smoketest.py, but using the myrpki.py tool to do all the back-end +work. Reads YAML file, generates .csv and .conf files, runs daemons +and waits for one of them to exit. -Much of the YAML handling code lifted from testbed.py. +Much of the YAML handling code lifted from smoketest.py. Still to do: -- Implement testebd.py-style delta actions, that is, modify the +- Implement smoketest.py-style delta actions, that is, modify the allocation database under control of the YAML file, dump out new - .csv files, and run myrpki.py and myirbe.py again to feed resulting - changes into running daemons. + .csv files, and run myrpki.py again to feed resulting changes into + running daemons. $Id$ @@ -548,7 +548,7 @@ try: rpki.log.use_syslog = False rpki.log.init("yamltest") - yaml_file = argv[0] if argv else "../rpkid/tests/testbed.1.yaml" + yaml_file = argv[0] if argv else "../rpkid/tests/smoketest.1.yaml" # Allow optional config file for this tool to override default # passwords: this is mostly so that I can show a complete working @@ -575,7 +575,7 @@ try: # Read first YAML doc in file and process as compact description of # test layout and resource allocations. Ignore subsequent YAML docs, - # they're for testbed.py, not this script. + # they're for smoketest.py, not this script. db = allocation_db(yaml.safe_load_all(open(yaml_file)).next()) |