From 760e718dd1f6ed5d924ed6468204d6dcb6d00234 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Mon, 16 Sep 2019 09:05:23 -0500 Subject: req: 3b: Even more verification requirements, simplify language --- devel/requirements/3b_runner.xml | 30 +++++++++++++++++++++++++++--- devel/requirements/verification-list | 7 ++++--- 2 files changed, 31 insertions(+), 6 deletions(-) (limited to 'devel') diff --git a/devel/requirements/3b_runner.xml b/devel/requirements/3b_runner.xml index 910546f..c41c0c1 100644 --- a/devel/requirements/3b_runner.xml +++ b/devel/requirements/3b_runner.xml @@ -196,7 +196,7 @@ Runner.Verify.language - If a language key is present in the HorizonScript, the system shall verify that the HorizonScript contains exactly one language key. + The system shall verify that the HorizonScript contains at most one language key. Runner.Verify.language.Format @@ -204,7 +204,7 @@ Runner.Verify.keymap - If a keymap key is present in the HorizonScript, the system shall verify that the HorizonScript contains exactly one keymap key. + The system shall verify that the HorizonScript contains at most one keymap key. Runner.Verify.keymap.Valid @@ -220,7 +220,31 @@ Runner.Verify.firmware.ForceOff - If the system is running in an installation environment, and the system has firmware support compiled out, the system shall verify that the value of the firmware key is false. + If the system has firmware support compiled out, the system shall verify that the value of the firmware key, if present, is false. + + + Runner.Verify.timezone + The system shall verify that the HorizonScript contains at most one timezone key. + + + Runner.Verify.timezone.zoneinfo + The system shall verify that the value of the timezone key, if present, represents a valid zoneinfo time zone name. + + + Runner.Verify.repository + The system shall verify that the HorizonScript contains zero to ten repository keys. + + + Runner.Verify.repository.ValidPath + The system shall verify that the value of each repository key is either an absolute local path beginning with an ASCII backslash (/), or a valid URL utilising the HTTP or HTTPS protocols. + + + Runner.Verify.signingkey + The system shall verify that the HorizonScript contains zero to ten signingkey keys. + + + Runner.Verify.signingkey.ValidPath + The system shall verify that the value of each signingkey key is either an absolute local path beginning with an ASCII backslash (/), or a valid URL utilising the HTTPS protocol. diff --git a/devel/requirements/verification-list b/devel/requirements/verification-list index 287ee63..5d3a28e 100644 --- a/devel/requirements/verification-list +++ b/devel/requirements/verification-list @@ -13,9 +13,9 @@ Optional Keys ✓ netaddress ✓ nameserver ✓ netssid - timezone - repository - signingkey +✓ timezone +✓ repository +✓ signingkey username useralias userpw @@ -43,3 +43,4 @@ Misc really should have a design spec for the CLI / GUI should errors be more formally defined? probably just waste of time tbh + COMMENTS, also blank lines -- cgit v1.2.3-70-g09d2