diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-10-26 01:09:57 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-10-26 01:09:57 -0500 |
commit | cd2ab0ea31fd4dc9305c1d5e08100eafaff19f7e (patch) | |
tree | 56f0f158ae77150952014557b716986199ad4938 /tests/fixtures | |
parent | a5da0c07e7202f44b03acfc1324fb410bff94496 (diff) | |
download | horizon-cd2ab0ea31fd4dc9305c1d5e08100eafaff19f7e.tar.gz horizon-cd2ab0ea31fd4dc9305c1d5e08100eafaff19f7e.tar.bz2 horizon-cd2ab0ea31fd4dc9305c1d5e08100eafaff19f7e.tar.xz horizon-cd2ab0ea31fd4dc9305c1d5e08100eafaff19f7e.zip |
hscript: Implement lvm_pv, add tests
Diffstat (limited to 'tests/fixtures')
-rw-r--r-- | tests/fixtures/0163-lvmpv-basic.installfile | 10 | ||||
-rw-r--r-- | tests/fixtures/0164-lvmpv-invalid.installfile | 10 | ||||
-rw-r--r-- | tests/fixtures/0165-lvmpv-duplicate.installfile | 11 |
3 files changed, 31 insertions, 0 deletions
diff --git a/tests/fixtures/0163-lvmpv-basic.installfile b/tests/fixtures/0163-lvmpv-basic.installfile new file mode 100644 index 0000000..9712ccd --- /dev/null +++ b/tests/fixtures/0163-lvmpv-basic.installfile @@ -0,0 +1,10 @@ +network false +hostname test.machine +pkginstall adelie-base +rootpw $6$gumtLGmHwOVIRpQR$2M9PUO24hy5mofzWWf9a.YLbzOgOlUby1g0hDj.wG67E2wrrvys59fq02PPdxBdbgkLZFtjfEx6MHZwMBamwu/ +mount /dev/sda1 / +diskid /dev/sdb WDC +disklabel /dev/sdb apm +partition /dev/sdb 1 8M boot +partition /dev/sdb 2 fill +lvm_pv /dev/sdb2 diff --git a/tests/fixtures/0164-lvmpv-invalid.installfile b/tests/fixtures/0164-lvmpv-invalid.installfile new file mode 100644 index 0000000..3abe2e5 --- /dev/null +++ b/tests/fixtures/0164-lvmpv-invalid.installfile @@ -0,0 +1,10 @@ +network false +hostname test.machine +pkginstall adelie-base +rootpw $6$gumtLGmHwOVIRpQR$2M9PUO24hy5mofzWWf9a.YLbzOgOlUby1g0hDj.wG67E2wrrvys59fq02PPdxBdbgkLZFtjfEx6MHZwMBamwu/ +mount /dev/sda1 / +diskid /dev/sdb WDC +disklabel /dev/sdb apm +partition /dev/sdb 1 8M boot +partition /dev/sdb 2 fill +lvm_pv sdb2 diff --git a/tests/fixtures/0165-lvmpv-duplicate.installfile b/tests/fixtures/0165-lvmpv-duplicate.installfile new file mode 100644 index 0000000..1ec5ed8 --- /dev/null +++ b/tests/fixtures/0165-lvmpv-duplicate.installfile @@ -0,0 +1,11 @@ +network false +hostname test.machine +pkginstall adelie-base +rootpw $6$gumtLGmHwOVIRpQR$2M9PUO24hy5mofzWWf9a.YLbzOgOlUby1g0hDj.wG67E2wrrvys59fq02PPdxBdbgkLZFtjfEx6MHZwMBamwu/ +mount /dev/sda1 / +diskid /dev/sdb WDC +disklabel /dev/sdb apm +partition /dev/sdb 1 8M boot +partition /dev/sdb 2 fill +lvm_pv /dev/sdb2 +lvm_pv /dev/sdb2 |