test: long flags, drop docker, use run_tests for all tests

This commit is contained in:
2022-01-24 16:49:51 +01:00
parent 57728e58e8
commit 415df981ff
9 changed files with 35 additions and 50 deletions

View File

@ -1,9 +1,10 @@
#!/bin/bash
source ./testfunctions.sh
source ./common.sh
$ABRA record new -p gandi -t A -n int-core -v 192.157.2.21 coopcloud.tech
run_test '$ABRA record new --provider gandi --type A --name integration-tests --value 192.157.2.21 coopcloud.tech'
$ABRA record list -p gandi coopcloud.tech | grep -q int-core
run_test '$ABRA record list --provider gandi coopcloud.tech'
$ABRA -n record rm -p gandi -t A -n int-core coopcloud.tech
run_test '$ABRA -n record rm --provider gandi --type A --name integration-tests coopcloud.tech'