summaryrefslogtreecommitdiff
path: root/tests/fixtures
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-05-26 02:08:20 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-05-26 02:08:20 -0500
commit82ca73034e9fc0756945ddbd9c9008a8b6443d69 (patch)
tree9cb88cbb63fc349b5a282ed143eeea652d3e36f7 /tests/fixtures
parentdb86a77b1d79824d2ee42d617f9a04bf8c3f7210 (diff)
downloadhorizon-82ca73034e9fc0756945ddbd9c9008a8b6443d69.tar.gz
horizon-82ca73034e9fc0756945ddbd9c9008a8b6443d69.tar.bz2
horizon-82ca73034e9fc0756945ddbd9c9008a8b6443d69.tar.xz
horizon-82ca73034e9fc0756945ddbd9c9008a8b6443d69.zip
hscript: Implement (currently undocumented) 'inherit' key and tests
Diffstat (limited to 'tests/fixtures')
-rw-r--r--tests/fixtures/0232-inherit-basic.installfile3
-rw-r--r--tests/fixtures/0233-inherit-missing.installfile4
-rw-r--r--tests/fixtures/0234-inherit-loop1.installfile3
-rw-r--r--tests/fixtures/0235-inherit-loop2.installfile3
-rw-r--r--tests/fixtures/0236-inherit-relative.installfile2
-rw-r--r--tests/fixtures/0237-inherit-incomplete.installfile2
-rw-r--r--tests/fixtures/0238-inherit-override.installfile3
7 files changed, 20 insertions, 0 deletions
diff --git a/tests/fixtures/0232-inherit-basic.installfile b/tests/fixtures/0232-inherit-basic.installfile
new file mode 100644
index 0000000..64a4c6a
--- /dev/null
+++ b/tests/fixtures/0232-inherit-basic.installfile
@@ -0,0 +1,3 @@
+arch ppc64
+pkginstall kde x11
+inherit 0222-complete.installfile
diff --git a/tests/fixtures/0233-inherit-missing.installfile b/tests/fixtures/0233-inherit-missing.installfile
new file mode 100644
index 0000000..f6e05c1
--- /dev/null
+++ b/tests/fixtures/0233-inherit-missing.installfile
@@ -0,0 +1,4 @@
+arch ppc64
+pkginstall kde x11
+# Purposefully misspelled.
+inherit 0222-compleat.installfile
diff --git a/tests/fixtures/0234-inherit-loop1.installfile b/tests/fixtures/0234-inherit-loop1.installfile
new file mode 100644
index 0000000..14d00f6
--- /dev/null
+++ b/tests/fixtures/0234-inherit-loop1.installfile
@@ -0,0 +1,3 @@
+arch ppc64
+pkginstall kde x11
+inherit 0235-inherit-loop2.installfile
diff --git a/tests/fixtures/0235-inherit-loop2.installfile b/tests/fixtures/0235-inherit-loop2.installfile
new file mode 100644
index 0000000..6b82fe3
--- /dev/null
+++ b/tests/fixtures/0235-inherit-loop2.installfile
@@ -0,0 +1,3 @@
+hostname loopy
+network false
+inherit 0234-inherit-loop1.installfile
diff --git a/tests/fixtures/0236-inherit-relative.installfile b/tests/fixtures/0236-inherit-relative.installfile
new file mode 100644
index 0000000..eb6fe27
--- /dev/null
+++ b/tests/fixtures/0236-inherit-relative.installfile
@@ -0,0 +1,2 @@
+arch ppc64
+inherit ../fixtures/0222-complete.installfile
diff --git a/tests/fixtures/0237-inherit-incomplete.installfile b/tests/fixtures/0237-inherit-incomplete.installfile
new file mode 100644
index 0000000..a4b1309
--- /dev/null
+++ b/tests/fixtures/0237-inherit-incomplete.installfile
@@ -0,0 +1,2 @@
+arch ppc64
+inherit 0006-no-network.installfile
diff --git a/tests/fixtures/0238-inherit-override.installfile b/tests/fixtures/0238-inherit-override.installfile
new file mode 100644
index 0000000..161e8f8
--- /dev/null
+++ b/tests/fixtures/0238-inherit-override.installfile
@@ -0,0 +1,3 @@
+arch ppc64
+hostname overriden.hostname.local
+inherit 0222-complete.installfile