glib-gio-fs automated

medium

Image Types:
basesdk-amd64 / fixedfunction-armhf / fixedfunction-arm64 / fixedfunction-amd64 / hmi-armhf / hmi-amd64 / sdk-amd64
Image Deployment:
APT, OSTree
Type:
functional

Description

Run the GLib gio tests that do I/O on the local filesystem.


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/v2023dev1 https://gitlab.apertis.org/tests/glib-gio-fs.git
  3. Copy the test directory glib-gio-fs to the target device:
  4. $ DUT_IP=<device-ip>
    $ scp -r glib-gio-fs user@$DUT_IP:
  5. Log into the target device:
  6. $ ssh user@$DUT_IP

Execution Steps

  1. Enter test directory:
  2. $ cd glib-gio-fs
  3. Execute the following command:
  4. $ common/run-test-in-systemd --name=glib-gio-fs --timeout=900 ./run-test.sh

Expected

The output should be similar to this:

>>> # Test setup successfully!

>>> # Running test '/home/user/glib-gio-fs-master/amd64/bin/async-close-output-stream' ...

>>> /home/user/glib-gio-fs-master/amd64/bin/async-close-output-stream: pass

>>> # Running test '/home/user/glib-gio-fs-master/amd64/bin/buffered-input-stream' ...

>>> /home/user/glib-gio-fs-master/amd64/bin/buffered-input-stream: pass

>>> # Running test '/home/user/glib-gio-fs-master/amd64/bin/buffered-output-stream' ...

>>> /home/user/glib-gio-fs-master/amd64/bin/buffered-output-stream: pass

>>> # Running test '/home/user/glib-gio-fs-master/amd64/bin/converter-stream' ...

>>> /home/user/glib-gio-fs-master/amd64/bin/converter-stream: pass

>>> # Running test '/home/user/glib-gio-fs-master/amd64/bin/data-input-stream' ...

>>> /home/user/glib-gio-fs-master/amd64/bin/data-input-stream: pass

>>> # Running test '/home/user/glib-gio-fs-master/amd64/bin/data-output-stream' ...

>>> /home/user/glib-gio-fs-master/amd64/bin/data-output-stream: pass

>>> # Running test '/home/user/glib-gio-fs-master/amd64/bin/file' ...

>>> /home/user/glib-gio-fs-master/amd64/bin/file: pass

>>> # Running test '/home/user/glib-gio-fs-master/amd64/bin/fileattributematcher' ...

>>> /home/user/glib-gio-fs-master/amd64/bin/fileattributematcher: pass

>>> # Running test '/home/user/glib-gio-fs-master/amd64/bin/filter-streams' ...

>>> /home/user/glib-gio-fs-master/amd64/bin/filter-streams: pass

>>> # Running test '/home/user/glib-gio-fs-master/amd64/bin/g-file' ...

>>> /home/user/glib-gio-fs-master/amd64/bin/g-file: pass

>>> # Running test '/home/user/glib-gio-fs-master/amd64/bin/g-file-info' ...

>>> /home/user/glib-gio-fs-master/amd64/bin/g-file-info: pass

>>> # Running test '/home/user/glib-gio-fs-master/amd64/bin/io-stream' ...

>>> /home/user/glib-gio-fs-master/amd64/bin/io-stream: pass

>>> # Running test '/home/user/glib-gio-fs-master/amd64/bin/live-g-file' ...

>>> /home/user/glib-gio-fs-master/amd64/bin/live-g-file: pass

>>> # Running test '/home/user/glib-gio-fs-master/amd64/bin/pollable' ...

>>> /home/user/glib-gio-fs-master/amd64/bin/pollable: pass

>>> # Running test '/home/user/glib-gio-fs-master/amd64/bin/readwrite' ...

>>> /home/user/glib-gio-fs-master/amd64/bin/readwrite: pass

>>> # Running test '/home/user/glib-gio-fs-master/amd64/bin/unix-streams' ...

>>> /home/user/glib-gio-fs-master/amd64/bin/unix-streams: pass

>>> # Running test '/home/user/glib-gio-fs-master/amd64/bin/vfs' ...

>>> /home/user/glib-gio-fs-master/amd64/bin/vfs: pass

>>> # All tests PASSED successfully!

If any test failed, they will be listed instead of the success message:

 >>> The following tests FAILED:

[list of tests]