summaryrefslogtreecommitdiff
path: root/tests/fixtures
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-10-13 08:48:11 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-10-13 08:48:11 -0500
commite026f2cda240ace6a68bfa7a64febc694c1a5275 (patch)
tree2b7e670e14746caa8ae67fd2fd24dd7f2b6991c8 /tests/fixtures
parent7757acdbcd0f6d7504136d46c3750c21f9ec3657 (diff)
downloadhorizon-e026f2cda240ace6a68bfa7a64febc694c1a5275.tar.gz
horizon-e026f2cda240ace6a68bfa7a64febc694c1a5275.tar.bz2
horizon-e026f2cda240ace6a68bfa7a64febc694c1a5275.tar.xz
horizon-e026f2cda240ace6a68bfa7a64febc694c1a5275.zip
tests: Add more invalid network prefixes
Diffstat (limited to 'tests/fixtures')
-rw-r--r--tests/fixtures/0045-netaddress-invalid-prefix4.installfile2
-rw-r--r--tests/fixtures/0060-netaddress-invalid-prefix4.installfile7
-rw-r--r--tests/fixtures/0061-netaddress-invalid-prefix6.installfile7
3 files changed, 15 insertions, 1 deletions
diff --git a/tests/fixtures/0045-netaddress-invalid-prefix4.installfile b/tests/fixtures/0045-netaddress-invalid-prefix4.installfile
index 3741334..3226a4b 100644
--- a/tests/fixtures/0045-netaddress-invalid-prefix4.installfile
+++ b/tests/fixtures/0045-netaddress-invalid-prefix4.installfile
@@ -1,6 +1,6 @@
network true
# 61 as a typo for 16
-netaddress eth0 172.16.1.11 61
+netaddress eth0 static 172.16.1.11 61
hostname test.machine
pkginstall adelie-base
rootpw $6$gumtLGmHwOVIRpQR$2M9PUO24hy5mofzWWf9a.YLbzOgOlUby1g0hDj.wG67E2wrrvys59fq02PPdxBdbgkLZFtjfEx6MHZwMBamwu/
diff --git a/tests/fixtures/0060-netaddress-invalid-prefix4.installfile b/tests/fixtures/0060-netaddress-invalid-prefix4.installfile
new file mode 100644
index 0000000..5714e06
--- /dev/null
+++ b/tests/fixtures/0060-netaddress-invalid-prefix4.installfile
@@ -0,0 +1,7 @@
+network true
+# qy as typo for 16 (qwerty key row)
+netaddress eth0 static 172.16.1.11 qy
+hostname test.machine
+pkginstall adelie-base
+rootpw $6$gumtLGmHwOVIRpQR$2M9PUO24hy5mofzWWf9a.YLbzOgOlUby1g0hDj.wG67E2wrrvys59fq02PPdxBdbgkLZFtjfEx6MHZwMBamwu/
+mount /dev/sda1 /
diff --git a/tests/fixtures/0061-netaddress-invalid-prefix6.installfile b/tests/fixtures/0061-netaddress-invalid-prefix6.installfile
new file mode 100644
index 0000000..ac9f4d0
--- /dev/null
+++ b/tests/fixtures/0061-netaddress-invalid-prefix6.installfile
@@ -0,0 +1,7 @@
+network true
+# yr as a typo for 64 (qwerty keyboard row)
+netaddress eth0 static 2600:1702:2a80:1b9f:5bbc:af4c:5dd1:a183 yr
+hostname test.machine
+pkginstall adelie-base
+rootpw $6$gumtLGmHwOVIRpQR$2M9PUO24hy5mofzWWf9a.YLbzOgOlUby1g0hDj.wG67E2wrrvys59fq02PPdxBdbgkLZFtjfEx6MHZwMBamwu/
+mount /dev/sda1 /