diff --git a/test-cases/disk-fsck-boot-rootfs.yaml b/test-cases/disk-fsck-boot-rootfs.yaml new file mode 100644 index 0000000000000000000000000000000000000000..77080212afb87989ccd5c49048477aa94df21cfc --- /dev/null +++ b/test-cases/disk-fsck-boot-rootfs.yaml @@ -0,0 +1,32 @@ +metadata: + name: disk-rootfs-fsck + format: "Apertis Test Definition 1.0" + image-types: + minimal: [ armhf, arm64, amd64 ] + target: [ armhf, arm64, amd64 ] + image-deployment: + - APT + - OSTree + type: functional + exec-type: automated + priority: high + maintainer: "Apertis Project" + description: "Ensure that the root file system check is enabled on boot" + + expected: + - "Test command should report \"pass\"." + +install: + git-repos: + - url: https://gitlab.apertis.org/infrastructure/apertis-tests.git + branch: 'apertis/v2019dev0' + +run: + steps: + - "# Enter test directory:" + - cd apertis-tests + - "# Execute the following command:" + - common/run-test-in-systemd --name=as-root common/fsck-boot-rootfs.sh + +parse: + pattern: "(?P<test_case_id>.*-*):\\s+(?P<result>(pass|fail))"