From 8be4a57cdb3851f127f1d91c56921d7ad58f36d6 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sat, 10 Oct 2020 10:12:44 +0300 Subject: 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. --- .gitignore | 1 + check | 9 +++++++++ subplot/subplot.py | 21 +++++++++++++++------ test.config | 1 - test.key | 27 --------------------------- 5 files changed, 25 insertions(+), 34 deletions(-) delete mode 100644 test.config delete mode 100644 test.key diff --git a/.gitignore b/.gitignore index b36d6fb..246e261 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ subplot.html subplot.pdf +test.cfg test.log test.md test.py diff --git a/check b/check index 72acaa7..0fdede0 100755 --- a/check +++ b/check @@ -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 <