summaryrefslogtreecommitdiffstats
path: root/tests/test_script.sh
diff options
context:
space:
mode:
authorvg <vgm+dev@devys.org>2019-05-21 15:35:48 +0200
committervg <vgm+dev@devys.org>2019-05-21 15:35:48 +0200
commit89f066b81671df29772be31804af3c531f58cec1 (patch)
tree93c403e3c4ab0141345362abe293485bd18f9439 /tests/test_script.sh
downloadacme-dns-tiny-89f066b81671df29772be31804af3c531f58cec1.tar.gz
acme-dns-tiny-89f066b81671df29772be31804af3c531f58cec1.tar.bz2
acme-dns-tiny-89f066b81671df29772be31804af3c531f58cec1.zip
Initial commit
Diffstat (limited to 'tests/test_script.sh')
-rwxr-xr-xtests/test_script.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/test_script.sh b/tests/test_script.sh
new file mode 100755
index 0000000..dbd6812
--- /dev/null
+++ b/tests/test_script.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+ssh -i "${TEST_SSHKEY}" "${TEST_USER}@${TEST_DNSSERVER}" : <<EOF
+{
+ "action": "$1",
+ "zone": "$2",
+ "challenge": "$3"
+}
+EOF