summaryrefslogtreecommitdiffstats
path: root/debian/tests
diff options
context:
space:
mode:
Diffstat (limited to 'debian/tests')
-rwxr-xr-xdebian/tests/baseline8
-rw-r--r--debian/tests/control9
2 files changed, 17 insertions, 0 deletions
diff --git a/debian/tests/baseline b/debian/tests/baseline
new file mode 100755
index 0000000..cada3b5
--- /dev/null
+++ b/debian/tests/baseline
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+set -e
+
+systemctl start kresd@1.service
+kdig @127.0.0.1 -t ns . +dnssec > root-nameservers-result
+cat root-nameservers-result
+head -n1 < root-nameservers-result | grep -q '^;; ->>HEADER<<- opcode: QUERY; status: NOERROR; id: '
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..240f2ff
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,9 @@
+Tests: baseline
+Depends:
+ knot-dnsutils,
+ knot-resolver,
+ systemd,
+ @,
+Restrictions:
+ isolation-container,
+ needs-root,