diff --git a/test-cases/test-systemctl.yaml b/test-cases/test-systemctl.yaml new file mode 100644 index 0000000000000000000000000000000000000000..53b37ef05d3fb1c1026767640046e01ced463836 --- /dev/null +++ b/test-cases/test-systemctl.yaml @@ -0,0 +1,31 @@ +metadata: + name: test-systemctl + format: "Apertis Test Definition 1.0" + image-types: + fixedfunction: [ armhf, arm64, amd64 ] + image-deployment: + - OSTree + group: systemctl + type: functional + exec-type: automated + priority: medium + maintainer: "Apertis Project" + description: "Test the systemctl." + + expected: + - "The output should show pass." + +install: + git-repos: + - url: https://gitlab.apertis.org/sudarshan/test-systemctl-check.git + branch: apertis/v2023dev1 + +run: + steps: + - "# Enter test directory:" + - cd test-systemctl + - "# Execute the following command:" + - lava-test-case test-systemctl --shell ./test-systemctl.sh + +parse: + pattern: "(?P<test_case_id>.*):\\s+(?P<result>(pass|fail))"