Add tests and fix some issues that arised from testing (#74)

* Add tests and fix some issues that arised from testing

Mainly around the cmdargs and how many items it returns.
Also drop the iso target and jobs as its not necessary now

Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>

* Lint

Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>

---------

Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
This commit is contained in:
Itxaka
2023-03-02 16:46:25 +01:00
committed by GitHub
parent b0b326313b
commit fecfbf8e92
22 changed files with 673 additions and 220 deletions

View File

@@ -3,7 +3,7 @@ package constants
import "errors"
func DefaultRWPaths() []string {
// Default RW_PATHS to mount if not overriden by the cos-layout.env file
// Default RW_PATHS to mount if not override by the cos-layout.env file
return []string{"/etc", "/root", "/home", "/opt", "/srv", "/usr/local", "/var"}
}