From 82ca73034e9fc0756945ddbd9c9008a8b6443d69 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Tue, 26 May 2020 02:08:20 -0500 Subject: hscript: Implement (currently undocumented) 'inherit' key and tests --- tests/fixtures/0232-inherit-basic.installfile | 3 +++ tests/fixtures/0233-inherit-missing.installfile | 4 ++++ tests/fixtures/0234-inherit-loop1.installfile | 3 +++ tests/fixtures/0235-inherit-loop2.installfile | 3 +++ tests/fixtures/0236-inherit-relative.installfile | 2 ++ tests/fixtures/0237-inherit-incomplete.installfile | 2 ++ tests/fixtures/0238-inherit-override.installfile | 3 +++ 7 files changed, 20 insertions(+) create mode 100644 tests/fixtures/0232-inherit-basic.installfile create mode 100644 tests/fixtures/0233-inherit-missing.installfile create mode 100644 tests/fixtures/0234-inherit-loop1.installfile create mode 100644 tests/fixtures/0235-inherit-loop2.installfile create mode 100644 tests/fixtures/0236-inherit-relative.installfile create mode 100644 tests/fixtures/0237-inherit-incomplete.installfile create mode 100644 tests/fixtures/0238-inherit-override.installfile (limited to 'tests') 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 -- cgit v1.2.3-70-g09d2