2022-01-19 11:17:09 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2022-01-24 15:49:51 +00:00
|
|
|
source ./testfunctions.sh
|
2022-01-19 11:17:09 +00:00
|
|
|
source ./common.sh
|
|
|
|
|
2022-01-24 16:04:42 +00:00
|
|
|
run_test "$ABRA record new \
|
|
|
|
--provider gandi \
|
|
|
|
--record-type A \
|
|
|
|
--record-name integration-tests \
|
|
|
|
--record-value 192.157.2.21 \
|
|
|
|
--no-input coopcloud.tech \
|
|
|
|
"
|
2022-01-19 11:17:09 +00:00
|
|
|
|
2022-01-24 15:49:51 +00:00
|
|
|
run_test '$ABRA record list --provider gandi coopcloud.tech'
|
2022-01-19 11:17:09 +00:00
|
|
|
|
2022-01-24 16:04:42 +00:00
|
|
|
run_test "$ABRA record rm \
|
|
|
|
--provider gandi \
|
|
|
|
--record-type A \
|
|
|
|
--record-name integration-tests \
|
|
|
|
--no-input coopcloud.tech
|
|
|
|
"
|