apparmor-gstreamer1-0 automated

medium

Image Types:
basesdk-amd64 / sdk-amd64 / target-armhf-internal / target-amd64
Image Deployment:
APT, OSTree
Type:
functional

Description

Test that AppArmor profiles provided in GStreamer 1.0 works without Auditd complaining.


Pre Conditions

  1. Clone the tests repository from another computer (Note that the branch being tested may change depending on the release, please make sure to clone the correct branch for the release in question):
  2. $ git clone --branch apertis/v2020dev0 https://gitlab.apertis.org/tests/apparmor-gstreamer1.0.git

  3. Copy the test directory apparmor-gstreamer1.0 to the target device:
  4. $ DUT_IP=<device-ip>

    $ scp -r apparmor-gstreamer1.0 user@$DUT_IP:

  5. Log into the target device:
  6. $ ssh user@$DUT_IP


Execution Steps

  1. Enter test directory:
  2. $ cd apparmor-gstreamer1.0

  3. Execute the following command:
  4. $ common/run-test-in-systemd --name run-test-sh --timeout 300 --user=user ./run-test.sh


Expected

The return value indicates the number of tests which failed and PASSED/FAILED/SKIP will be shown on console, something like this:

/home/user/apparmor-gstreamer1.0-master/gstreamer1.0/R1.6-gstreamer-decode.sh: PASSED -