diff options
author | Lars Wirzenius <liw@liw.fi> | 2020-10-10 10:12:44 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2020-10-10 10:16:25 +0300 |
commit | 8be4a57cdb3851f127f1d91c56921d7ad58f36d6 (patch) | |
tree | bd63a903246399c58257454a2644ecafdde11d26 /check | |
parent | b2552e839c18a6831e258dc13f90e55643cfaa34 (diff) | |
download | debian-ansible-8be4a57cdb3851f127f1d91c56921d7ad58f36d6.tar.gz |
test: make test configurable
Create test.cfg in the source tree for this. Currently, ./check does
that with hardcoded values. I may change that later if need be, but
this is simple for now.
Diffstat (limited to 'check')
-rwxr-xr-x | check | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -38,6 +38,15 @@ cat subplot/*.yaml roles/*/subplot.yaml > "$dir/subplot.yaml" # Fix private key permissions. git doesn't preserve them. chmod 0600 ssh/id +# Create configuration for the test VMs used by the test suite. +cat > test.cfg <<EOF +name: debian-ansible-test +base_image: "$HOME/tmp/debian-10-openstack-amd64.qcow2" +username: debian +cpus: 2 +memory: 1024 +EOF + $hideok python3 test.py --log test.log "$@" echo "Everything seems to be in order." |