diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-10-15 13:25:38 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-10-15 13:25:38 -0500 |
commit | e9870d0b830deb0b253e5e514fc90ceee201a778 (patch) | |
tree | 244344085bdcd5ada2f187fc4579005caa51e409 /tests/fixtures | |
parent | f9850e766787d46bcae874fd4302cab0f0244e03 (diff) | |
download | horizon-e9870d0b830deb0b253e5e514fc90ceee201a778.tar.gz horizon-e9870d0b830deb0b253e5e514fc90ceee201a778.tar.bz2 horizon-e9870d0b830deb0b253e5e514fc90ceee201a778.tar.xz horizon-e9870d0b830deb0b253e5e514fc90ceee201a778.zip |
Add many more various test cases
Diffstat (limited to 'tests/fixtures')
12 files changed, 100 insertions, 2 deletions
diff --git a/tests/fixtures/0227-netconfigtype-eni.installfile b/tests/fixtures/0227-netconfigtype-eni.installfile index e5beb22..0c1deda 100644 --- a/tests/fixtures/0227-netconfigtype-eni.installfile +++ b/tests/fixtures/0227-netconfigtype-eni.installfile @@ -2,8 +2,10 @@ hostname horizon-eni-test rootpw $6$gumtLGmHwOVIRpQR$2M9PUO24hy5mofzWWf9a.YLbzOgOlUby1g0hDj.wG67E2wrrvys59fq02PPdxBdbgkLZFtjfEx6MHZwMBamwu/ network true netconfigtype eni -netaddress eth0 static 192.168.1.2 24 192.168.1.1 -netaddress eth0 slaac +netaddress eth0 static 192.0.2.2 24 192.0.2.1 +netaddress eth1 slaac +netaddress eth2 dhcp +netaddress eth3 static 2001:db8::2 64 2001:db8::1 nameserver 9.9.9.10 diskid /dev/sda QEMU_HARDDISK disklabel /dev/sda gpt diff --git a/tests/fixtures/0253-fs-hfsplus.installfile b/tests/fixtures/0253-fs-hfsplus.installfile new file mode 100644 index 0000000..cf1801a --- /dev/null +++ b/tests/fixtures/0253-fs-hfsplus.installfile @@ -0,0 +1,10 @@ +network false +hostname test.machine +pkginstall adelie-base +rootpw $6$gumtLGmHwOVIRpQR$2M9PUO24hy5mofzWWf9a.YLbzOgOlUby1g0hDj.wG67E2wrrvys59fq02PPdxBdbgkLZFtjfEx6MHZwMBamwu/ +diskid /dev/sdb WDBNCE2500PNC +disklabel /dev/sdb gpt +partition /dev/sdb 1 10M bios +partition /dev/sdb 2 fill +fs /dev/sdb2 hfs+ +mount /dev/sdb2 / diff --git a/tests/fixtures/0254-partition-type-prep.installfile b/tests/fixtures/0254-partition-type-prep.installfile new file mode 100644 index 0000000..96cc82d --- /dev/null +++ b/tests/fixtures/0254-partition-type-prep.installfile @@ -0,0 +1,8 @@ +network false +hostname test.machine +pkginstall adelie-base +rootpw $6$gumtLGmHwOVIRpQR$2M9PUO24hy5mofzWWf9a.YLbzOgOlUby1g0hDj.wG67E2wrrvys59fq02PPdxBdbgkLZFtjfEx6MHZwMBamwu/ +diskid /dev/sdb WDBNCE2500PNC +disklabel /dev/sdb gpt +partition /dev/sdb 1 fill prep +mount /dev/sdb1 / diff --git a/tests/fixtures/0255-bootloader-devonly.installfile b/tests/fixtures/0255-bootloader-devonly.installfile new file mode 100644 index 0000000..ab2a3e6 --- /dev/null +++ b/tests/fixtures/0255-bootloader-devonly.installfile @@ -0,0 +1,7 @@ +network false +hostname test.machine +pkginstall adelie-base +rootpw $6$gumtLGmHwOVIRpQR$2M9PUO24hy5mofzWWf9a.YLbzOgOlUby1g0hDj.wG67E2wrrvys59fq02PPdxBdbgkLZFtjfEx6MHZwMBamwu/ +mount /dev/sda1 / +arch ppc +bootloader /dev/sda diff --git a/tests/fixtures/0256-bootloader-arm64.installfile b/tests/fixtures/0256-bootloader-arm64.installfile new file mode 100644 index 0000000..dfd5317 --- /dev/null +++ b/tests/fixtures/0256-bootloader-arm64.installfile @@ -0,0 +1,7 @@ +network false +hostname test.machine +pkginstall adelie-base +rootpw $6$gumtLGmHwOVIRpQR$2M9PUO24hy5mofzWWf9a.YLbzOgOlUby1g0hDj.wG67E2wrrvys59fq02PPdxBdbgkLZFtjfEx6MHZwMBamwu/ +mount /dev/sda1 / +arch aarch64 +bootloader /dev/sda diff --git a/tests/fixtures/0257-bootloader-armv7.installfile b/tests/fixtures/0257-bootloader-armv7.installfile new file mode 100644 index 0000000..2374ae5 --- /dev/null +++ b/tests/fixtures/0257-bootloader-armv7.installfile @@ -0,0 +1,7 @@ +network false +hostname test.machine +pkginstall adelie-base +rootpw $6$gumtLGmHwOVIRpQR$2M9PUO24hy5mofzWWf9a.YLbzOgOlUby1g0hDj.wG67E2wrrvys59fq02PPdxBdbgkLZFtjfEx6MHZwMBamwu/ +mount /dev/sda1 / +arch armv7 +bootloader /dev/sda diff --git a/tests/fixtures/0258-bootloader-spaces.installfile b/tests/fixtures/0258-bootloader-spaces.installfile new file mode 100644 index 0000000..661a439 --- /dev/null +++ b/tests/fixtures/0258-bootloader-spaces.installfile @@ -0,0 +1,7 @@ +network false +hostname test.machine +pkginstall adelie-base +rootpw $6$gumtLGmHwOVIRpQR$2M9PUO24hy5mofzWWf9a.YLbzOgOlUby1g0hDj.wG67E2wrrvys59fq02PPdxBdbgkLZFtjfEx6MHZwMBamwu/ +mount /dev/sda1 / +arch ppc64 +bootloader /dev/sda invalid loader diff --git a/tests/fixtures/0259-netconfigtype-duplicate.installfile b/tests/fixtures/0259-netconfigtype-duplicate.installfile new file mode 100644 index 0000000..08f0c91 --- /dev/null +++ b/tests/fixtures/0259-netconfigtype-duplicate.installfile @@ -0,0 +1,21 @@ +hostname horizon-netifrc-test +rootpw $6$gumtLGmHwOVIRpQR$2M9PUO24hy5mofzWWf9a.YLbzOgOlUby1g0hDj.wG67E2wrrvys59fq02PPdxBdbgkLZFtjfEx6MHZwMBamwu/ +network true +netconfigtype netifrc +netconfigtype eni +netaddress eth0 dhcp +netaddress eth0 slaac +nameserver 9.9.9.10 +diskid /dev/sda QEMU_HARDDISK +disklabel /dev/sda gpt +partition /dev/sda 1 fill +fs /dev/sda1 ext4 +mount /dev/sda1 / +repository https://distfiles.adelielinux.org/adelie/current/system +repository https://distfiles.adelielinux.org/adelie/current/user +signingkey /etc/apk/keys/packages@adelielinux.org.pub +pkginstall adelie-base-posix dash-binsh easy-kernel-power8 easy-kernel-power8-modules grub-ieee1275 netifrc openrc s6-linux-init +keymap us +language en_GB.UTF-8 +timezone America/Chicago +firmware false diff --git a/tests/fixtures/0260-pppoe-duplicate.installfile b/tests/fixtures/0260-pppoe-duplicate.installfile new file mode 100644 index 0000000..8bb0262 --- /dev/null +++ b/tests/fixtures/0260-pppoe-duplicate.installfile @@ -0,0 +1,7 @@ +network false +hostname test.machine +pkginstall adelie-base +rootpw $6$gumtLGmHwOVIRpQR$2M9PUO24hy5mofzWWf9a.YLbzOgOlUby1g0hDj.wG67E2wrrvys59fq02PPdxBdbgkLZFtjfEx6MHZwMBamwu/ +mount /dev/sda1 / +pppoe eth0 +pppoe eth0 diff --git a/tests/fixtures/0261-arch-duplicate.installfile b/tests/fixtures/0261-arch-duplicate.installfile new file mode 100644 index 0000000..123fc09 --- /dev/null +++ b/tests/fixtures/0261-arch-duplicate.installfile @@ -0,0 +1,7 @@ +network false +hostname test.machine +pkginstall adelie-base +rootpw $6$gumtLGmHwOVIRpQR$2M9PUO24hy5mofzWWf9a.YLbzOgOlUby1g0hDj.wG67E2wrrvys59fq02PPdxBdbgkLZFtjfEx6MHZwMBamwu/ +mount /dev/sda1 / +arch ppc64 +arch ppc diff --git a/tests/fixtures/0262-version-duplicate.installfile b/tests/fixtures/0262-version-duplicate.installfile new file mode 100644 index 0000000..a795494 --- /dev/null +++ b/tests/fixtures/0262-version-duplicate.installfile @@ -0,0 +1,7 @@ +network false +hostname 123lonelycorgi.street +pkginstall adelie-base +rootpw $6$gumtLGmHwOVIRpQR$2M9PUO24hy5mofzWWf9a.YLbzOgOlUby1g0hDj.wG67E2wrrvys59fq02PPdxBdbgkLZFtjfEx6MHZwMBamwu/ +mount /dev/sda1 / +version 1.0 +version 1.1 diff --git a/tests/fixtures/0263-bootloader-duplicate.installfile b/tests/fixtures/0263-bootloader-duplicate.installfile new file mode 100644 index 0000000..ff81cd5 --- /dev/null +++ b/tests/fixtures/0263-bootloader-duplicate.installfile @@ -0,0 +1,8 @@ +network false +hostname test.machine +pkginstall adelie-base +rootpw $6$gumtLGmHwOVIRpQR$2M9PUO24hy5mofzWWf9a.YLbzOgOlUby1g0hDj.wG67E2wrrvys59fq02PPdxBdbgkLZFtjfEx6MHZwMBamwu/ +mount /dev/sda1 / +arch ppc +bootloader /dev/sda grub-ieee1275 +bootloader /dev/sda iquik |