diff --git a/test-cases/ostree-collection-id.yaml b/test-cases/ostree-collection-id.yaml new file mode 100644 index 0000000000000000000000000000000000000000..ca0bb58885dbbf8bf49054b21baa4e3f08b73455 --- /dev/null +++ b/test-cases/ostree-collection-id.yaml @@ -0,0 +1,35 @@ +metadata: + name: ostree-collection-id + format: "Apertis Test Definition 1.0" + image-types: + minimal: [ armhf-internal, armhf, arm64, amd64 ] + target: [ armhf-internal, amd64 ] + image-deployment: + - OSTree + type: functional + exec-type: automated + priority: critical + maintainer: "Apertis Project" + description: "OSTree: Collection ID test + This test ensures that the system is booted with proper Collection ID." + + expected: + - "The automated test should succeed." + + notes: + - "The automated test uses internet" + +install: + git-repos: + - url: https://gitlab.apertis.org/tests/ostree-images.git + branch: apertis/v2019dev0 + +run: + steps: + - "# Enter test directory:" + - cd ostree-images + - "# Execute the following command:" + - common/run-test-in-systemd --timeout=900 --name=run-test env DEBUG=2 ./run-ostree-collection_id.sh + +parse: + pattern: ^(?P<test_case_id>[a-zA-Z0-9_\-\./]+):\s*(?P<result>pass|fail|skip|unknown)$