From 580520e939b4228a66ddfdbf578602df6b8324d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Dalleau?= <frederic.dalleau@collabora.com> Date: Mon, 27 May 2019 09:41:00 +0000 Subject: [PATCH] Add a test-case for nfsroot simple boot MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit After booting an nfsroot, an image is flashed and we only want to ensure the image boots properly to a shell. This test uses the nfsroot image type. Signed-off-by: Frédéric Dalleau <frederic.dalleau@collabora.com> --- test-cases/nfsroot-simple-boot.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 test-cases/nfsroot-simple-boot.yaml diff --git a/test-cases/nfsroot-simple-boot.yaml b/test-cases/nfsroot-simple-boot.yaml new file mode 100644 index 0000000..a3f0911 --- /dev/null +++ b/test-cases/nfsroot-simple-boot.yaml @@ -0,0 +1,23 @@ +metadata: + name: nfsroot-simple-boot + format: "Apertis Test Definition 1.0" + image-types: + nfsroot: [ armhf, arm64, amd64 ] + image-deployment: + - APT + - OSTree + type: functional + exec-type: automated + priority: high + maintainer: "Apertis Project" + description: "Check that the image booted." + + expected: + - "The output should show pass." + +run: + steps: + - echo pass + +parse: + pattern: 'TEST_RESULT:(?P<result>\w+):(?P<test_case_id>[^:]+):' -- GitLab