Skip to content
Snippets Groups Projects
Commit 714300cc authored by Frederic Danis's avatar Frederic Danis
Browse files

apparmor-ofono: Fix script call


Replace macro_ostree_preconditions by install entry to run on both APT and
OSTree images.
Command should not start by `$`

Signed-off-by: default avatarFrédéric Danis <frederic.danis@collabora.com>
parent 5099b987
No related branches found
No related tags found
1 merge request!389apparmor-ofono: Fix script call
Pipeline #334734 passed
Pipeline: apertis-test-cases-web

#334735

    ......@@ -15,10 +15,6 @@ metadata:
    description: "Test that AppArmor profiles provided in ofono package work
    without unexpected auditd log entries."
    macro_ostree_preconditions:
    reponame: ofono
    branch: apertis/v2023dev1
    expected:
    - "A list of executed test with related result (as pass/fail/skip) will be
    shown on console, similar to the following:"
    ......@@ -35,12 +31,17 @@ metadata:
    - "The results of the tests printed to the standard output are enough to
    determine whether they passed or fail."
    install:
    git-repos:
    - url: https://gitlab.apertis.org/tests/ofono.git
    branch: 'apertis/v2023dev1'
    run:
    steps:
    - "# Enter test directory:"
    - cd ofono
    - "Execute the following command:"
    - $ sudo ./run-test.sh
    - "# Execute the following command:"
    - sudo ./run-test.sh
    parse:
    pattern: ^(?P<test_case_id>[\w\-\.]+):\s(?P<result>PASS|pass|FAIL|fail|SKIP|skip|UNKNOWN|unknown)$
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment