From a50887f67ca9a5836733c6c8b6883181c402a6d3 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 29 Sep 2019 19:46:39 -0500 Subject: req: 3b: Fix Runner.Validate.* from @smaeul's comments --- devel/requirements/3b_runner.xml | 34 +++++++++++++++++++++++----------- 1 file changed, 23 insertions(+), 11 deletions(-) diff --git a/devel/requirements/3b_runner.xml b/devel/requirements/3b_runner.xml index 82cb0d9..b61fc37 100644 --- a/devel/requirements/3b_runner.xml +++ b/devel/requirements/3b_runner.xml @@ -128,7 +128,7 @@ Runner.Validate.network.netaddress.Mask - If the second value of the netaddress key is static, the system shall ensure that the fourth value in the tuple is a valid prefix, in the form of a whole number between 1 and 32 inclusive if the third value is an IPv4 address, a whole number between 1 and 64 inclusive if the third value is an IPv6 address, or a network mask in the form of four octets separated by the period (.) symbol if the third value is an IPv4 address. + If the second value of the netaddress key is static, the system shall ensure that the fourth value in the tuple is a valid prefix length, in the form of a whole number between 1 and 32 inclusive if the third value is an IPv4 address, a whole number between 1 and 128 inclusive if the third value is an IPv6 address, or a network mask in the form of four octets separated by the period (.) symbol if the third value is an IPv4 address. Runner.Validate.network.netaddress.Gateway @@ -143,7 +143,7 @@ The system shall verify the validity of any present netssid key. - Runner.Validate.network.netaddress.Validity + Runner.Validate.network.netssid.Validity The system shall verify that each netssid key has a valid form of either three values or four values in a space-separated tuple. @@ -178,6 +178,10 @@ Runner.Validate.hostname.Length The system shall verify that the value for the hostname key does not exceed 320 characters in length. + + Runner.Validate.hostname.PartLength + The system shall verify that the value for each part of the value of the hostname key, separated by an ASCII period (.), does not exceed 64 characters in length. + Runner.Validate.pkginstall The system shall verify that the HorizonScript contains at least one pkginstall key. @@ -232,7 +236,7 @@ Runner.Validate.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. + The system shall verify that the value of each repository key is either an absolute local path beginning with an ASCII oblique (/), or a valid URL utilising the HTTP or HTTPS protocols. Runner.Validate.signingkey @@ -240,7 +244,7 @@ Runner.Validate.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. + The system shall verify that the value of each signingkey key is either an absolute local path beginning with an ASCII oblique (/), or a valid URL utilising the HTTPS protocol. Runner.Validate.username @@ -336,7 +340,7 @@ Runner.Validate.usergroups.Group - The system shall verify that each group specified is a valid system-defined group name. + The system shall verify that each group specified is a valid system-defined group name that is present in the base system image /etc/group file. Runner.Validate.diskid @@ -412,7 +416,7 @@ Runner.Validate.lvm_pv.Block - If the system is running in an installation environment, the system shall verify that the value of each lvm_pv key specifies a valid block device. + If the system is running in an installation environment, the system shall verify that the value of each lvm_pv key specifies a valid block device or a block device that will be created. Runner.Validate.lvm_vg @@ -424,7 +428,11 @@ Runner.Validate.lvm_vg.Block - If the system is running in an installation environment, the system shall verify that the first value of each lvm_vg key tuple specifies a valid block device. + If the system is running in an installation environment, the system shall verify that the first value of each lvm_vg key tuple specifies a valid block device or a block device that will be created. + + + Runner.Validate.lvm_vg.PhysicalVolume + If the system is running in an installation environment, the system shall verify that the first value of each lvm_vg key tuple specifies a valid physical volume or a physical volume that will be created. Runner.Validate.lvm_vg.Name @@ -460,7 +468,7 @@ Runner.Validate.encrypt.Block - If the system is running in an installation environment, the system shall verify that the value of each encrypt key, and the first value of each encrypt key tuple, specifies a valid block device. + If the system is running in an installation environment, the system shall verify that the value of each encrypt key, and the first value of each encrypt key tuple, specifies a valid block device or a block device that will be created. Runner.Validate.fs @@ -472,7 +480,7 @@ Runner.Validate.fs.Block - If the system is running in an installation environment, the system shall verify that the first value of each fs key tuple specifies a valid block device. + If the system is running in an installation environment, the system shall verify that the first value of each fs key tuple specifies a valid block device or a block device that will be created. Runner.Validate.fs.Type @@ -488,11 +496,15 @@ Runner.Validate.mount.Block - If the system is running in an installation environment, the system shall verify that the first value of each mount key tuple specifies a valid block device. + If the system is running in an installation environment, the system shall verify that the first value of each mount key tuple specifies a valid block device or a block device that will be created. Runner.Validate.mount.Point - The system shall verify that the second value of each mount key specifies a valid mount point beginning with a /. + The system shall verify that the second value of each mount key tuple specifies a valid mount point beginning with a /. + + + Runner.Validate.mount.Root + The system shall verify that one mount key tuple specifies the root (/) mount. Runner.Validate.PackageAvail -- cgit v1.2.3-70-g09d2