rfkill-toggle manual

medium

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

Description

Test that rfkill is functional.


Resources

  • A bluetooth dongle is installed.

Pre Conditions

  1. From a PC, download and unpack the test data tarball from the gitlab test repository:
  2. $ wget https://gitlab.apertis.org/tests/rfkill-toggle/-/archive/apertis/v2021pre/rfkill-toggle.tar.gz
    $ tar -xvf rfkill-toggle.tar.gz
  3. Copy the rfkill-toggle-* folder to the target device:
  4. $ DUT_IP=<device-ip>
    $ scp -r rfkill-toggle-* user@$DUT_IP:
  5. Log into the target device:
  6. $ ssh user@$DUT_IP
  7. After log into the DUT, enter the test directory
  8. $ cd rfkill-toggle-*
  9. 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.

Execution Steps

  1. Run the test script:
  2. $ ./rfkill-toggle.sh

Expected

The test script show should PASSED:

rfkill-toggle: PASSED