summaryrefslogtreecommitdiff
path: root/tests/fixtures
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-10-31 19:37:01 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-10-31 19:37:01 -0500
commit77ef54d7a1eccacefc615fee178374760a2401a5 (patch)
tree27f1891bfe5e0a47efab39728a43dbd20bf1cb04 /tests/fixtures
parente80e8ad8578a3426b810363094243c5d822742d5 (diff)
downloadhorizon-77ef54d7a1eccacefc615fee178374760a2401a5.tar.gz
horizon-77ef54d7a1eccacefc615fee178374760a2401a5.tar.bz2
horizon-77ef54d7a1eccacefc615fee178374760a2401a5.tar.xz
horizon-77ef54d7a1eccacefc615fee178374760a2401a5.zip
hscript: Implement Nameserver, add tests
Diffstat (limited to 'tests/fixtures')
-rw-r--r--tests/fixtures/0183-nameserver-basic.installfile7
-rw-r--r--tests/fixtures/0184-nameserver-invalid.installfile6
-rw-r--r--tests/fixtures/0185-nameserver-brackets.installfile6
3 files changed, 19 insertions, 0 deletions
diff --git a/tests/fixtures/0183-nameserver-basic.installfile b/tests/fixtures/0183-nameserver-basic.installfile
new file mode 100644
index 0000000..fbccfe4
--- /dev/null
+++ b/tests/fixtures/0183-nameserver-basic.installfile
@@ -0,0 +1,7 @@
+network false
+hostname test.machine
+pkginstall adelie-base
+rootpw $6$gumtLGmHwOVIRpQR$2M9PUO24hy5mofzWWf9a.YLbzOgOlUby1g0hDj.wG67E2wrrvys59fq02PPdxBdbgkLZFtjfEx6MHZwMBamwu/
+mount /dev/sda1 /
+nameserver 172.16.1.1
+nameserver 2600:1702:2a80:1b90::1
diff --git a/tests/fixtures/0184-nameserver-invalid.installfile b/tests/fixtures/0184-nameserver-invalid.installfile
new file mode 100644
index 0000000..3a09be2
--- /dev/null
+++ b/tests/fixtures/0184-nameserver-invalid.installfile
@@ -0,0 +1,6 @@
+network false
+hostname test.machine
+pkginstall adelie-base
+rootpw $6$gumtLGmHwOVIRpQR$2M9PUO24hy5mofzWWf9a.YLbzOgOlUby1g0hDj.wG67E2wrrvys59fq02PPdxBdbgkLZFtjfEx6MHZwMBamwu/
+mount /dev/sda1 /
+nameserver 0x7F000001
diff --git a/tests/fixtures/0185-nameserver-brackets.installfile b/tests/fixtures/0185-nameserver-brackets.installfile
new file mode 100644
index 0000000..e41a49c
--- /dev/null
+++ b/tests/fixtures/0185-nameserver-brackets.installfile
@@ -0,0 +1,6 @@
+network false
+hostname test.machine
+pkginstall adelie-base
+rootpw $6$gumtLGmHwOVIRpQR$2M9PUO24hy5mofzWWf9a.YLbzOgOlUby1g0hDj.wG67E2wrrvys59fq02PPdxBdbgkLZFtjfEx6MHZwMBamwu/
+mount /dev/sda1 /
+nameserver [2600:1702:2a80:1b90::1]