Skip to content
Snippets Groups Projects
Select Git revision
  • 87adbb1579b0689caeba15ff6217c77f1841b92d
  • master default protected
  • wip/wlozano/repo-configuration
  • wip/em/http-redirects
  • wip/Q1_release_schedule_fix
  • wip/daissi/T8768-policy-for-statically-linked
  • wip/daissi/add-pw-wp-presentations
  • wip/martyn/T8303-Documentation-CI
  • wip/T10461
  • wip/martyn/T8303-doc-validation
  • wip/test_url
  • wip/martyn/T9765-developer-guide-v2024
  • wip/cdan1kor/devroot
  • wip/rfw_LAVA_doc_update
  • wip/q3_sch_fix
  • allowbuilldep-star
  • wip/sagar/agl-compositor
  • wip/sagar/agl-compositor-test
  • wip/wlozano/release-flow-rework
  • wip/obbardc/device_roc-rk3399-pc
  • wip/adalessandro/amd64-switch-to-upsquared
21 results

hardwarebringup.md

Blame
  • apparmor-geoclue.yaml 1.23 KiB
    metadata:
      name: apparmor-geoclue
      format: "Apertis Test Definition 1.0"
      image-type: target
      image-arch: any
      type: functional
      exec-type: automated
      priority: medium
      maintainer: "Apertis Project"
      description: "Test that geoclue apparmor profiles are working properly."
    
      expected:
        - "Both tests should report pass and not fail:"
        - |
            >geoclue.normal.expected: pass
            geoclue.malicious.expected: pass
    
      notes:
        - "The results of the tests printed to the standard output are enough to
           determine whether they passed or fail."
        - "If you get a failure and need to report a bug please run sudo watch-aa on
           a terminal and run the case that is failing (separately, if both), and add
           the logs you get to the bug report."
    
    install:
      deps:
      - busybox
      - apertis-tests-apparmor-geoclue
    
    run:
      steps:
      - "# Execute the following commands:"
      - echo -n | sudo tee /var/log/audit/audit.log
      - common/run-test-in-systemd --name run-test-geoclue --timeout 90 /usr/lib/apertis-tests/apparmor/geoclue/test-geoclue
      - sudo cat /var/log/audit/audit.log | aa_log_extract_tokens.pl PERMITTING REJECTING
    
    parse:
      pattern: ^(?P<test_case_id>[\w\-\.]+):\s(?P<result>PASS|pass|FAIL|fail|SKIP|skip|UNKNOWN|unknown)$