summaryrefslogtreecommitdiff
path: root/tests/fixtures
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-10-31 21:30:06 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-10-31 21:30:06 -0500
commit011f7069677c77ee3039d94aef7bc25030ab3309 (patch)
tree0ac1ae8a99d8f8d58ebb47efb6481289aa570f79 /tests/fixtures
parent1342fe0f855d72642c250c7c4be3509fb2257d7b (diff)
downloadhorizon-011f7069677c77ee3039d94aef7bc25030ab3309.tar.gz
horizon-011f7069677c77ee3039d94aef7bc25030ab3309.tar.bz2
horizon-011f7069677c77ee3039d94aef7bc25030ab3309.tar.xz
horizon-011f7069677c77ee3039d94aef7bc25030ab3309.zip
hscript: Implement Encrypt, add tests
Diffstat (limited to 'tests/fixtures')
-rw-r--r--tests/fixtures/0189-encrypt-basic.installfile9
-rw-r--r--tests/fixtures/0190-encrypt-duplicate.installfile10
-rw-r--r--tests/fixtures/0191-encrypt-invalid.installfile9
-rw-r--r--tests/fixtures/0192-encrypt-pw.installfile9
4 files changed, 37 insertions, 0 deletions
diff --git a/tests/fixtures/0189-encrypt-basic.installfile b/tests/fixtures/0189-encrypt-basic.installfile
new file mode 100644
index 0000000..e198832
--- /dev/null
+++ b/tests/fixtures/0189-encrypt-basic.installfile
@@ -0,0 +1,9 @@
+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
+encrypt /dev/sdb1
+mount /dev/sdb1 /
diff --git a/tests/fixtures/0190-encrypt-duplicate.installfile b/tests/fixtures/0190-encrypt-duplicate.installfile
new file mode 100644
index 0000000..72eafec
--- /dev/null
+++ b/tests/fixtures/0190-encrypt-duplicate.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 fill
+encrypt /dev/sdb1
+encrypt /dev/sdb1
+mount /dev/sdb1 /
diff --git a/tests/fixtures/0191-encrypt-invalid.installfile b/tests/fixtures/0191-encrypt-invalid.installfile
new file mode 100644
index 0000000..fc0c06f
--- /dev/null
+++ b/tests/fixtures/0191-encrypt-invalid.installfile
@@ -0,0 +1,9 @@
+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
+encrypt sdb1
+mount /dev/sdb1 /
diff --git a/tests/fixtures/0192-encrypt-pw.installfile b/tests/fixtures/0192-encrypt-pw.installfile
new file mode 100644
index 0000000..29612e4
--- /dev/null
+++ b/tests/fixtures/0192-encrypt-pw.installfile
@@ -0,0 +1,9 @@
+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
+encrypt /dev/sdb1 shhsekrit
+mount /dev/sdb1 /