Forked from
tests / apertis-test-cases
625 commits behind the upstream repository.
-
Luis Araujo authored
Signed-off-by:
Luis Araujo <luis.araujo@collabora.co.uk>
Luis Araujo authoredSigned-off-by:
Luis Araujo <luis.araujo@collabora.co.uk>
gettext-i18n.yaml 1.26 KiB
metadata:
name: gettext-i18n
format: "Apertis Test Definition 1.0"
image-type: any
image-arch: any
type: functional
exec-type: automated
priority: medium
maintainer: "Apertis Project"
description: "Check that gettext internationalization works."
pre-conditions:
- "From a PC, download and unpack the test data tarball from the gitlab test repository:"
- "$ wget https://gitlab.apertis.org/tests/gettext-i18n/-/archive/master/gettext-i18n.tar.gz"
- "$ tar -xvf gettext-i18n.tar.gz"
- "Copy the gettext-i18n-master-* to the device"
- "$ DUT_IP=<device-ip>"
- "$ scp -r gettext-i18n-master-* user@$DUT_IP:"
- "Log into the target"
- "$ ssh user@$DUT_IP"
- "After log into the DUT, enter the test directory"
- "$ cd gettext-i18n-master-*"
- "Note that the tarball may change depending on the release/branch being tested, please make sure to download the correct tarball for the release in question."
expected:
- "The output should be pass or fail for each supported language."
run:
steps:
- "# Run the gettext test script:"
- common/run-test-in-systemd --timeout=900 --basename ./gettext-i18n.sh
parse:
fixupdict:
FAILED: fail
PASSED: pass
pattern: '(?P<test_case_id>[^:]+): (?P<result>[A-Z]+)'