Skip to content
Snippets Groups Projects
Commit 7865a45e authored by Luis Araujo's avatar Luis Araujo
Browse files

Update the sanity-check test case


This commit updates the sanity-check test case to avoid redundant
information when using the new macro for fetching the test
repository.

Signed-off-by: default avatarLuis Araujo <luis.araujo@collabora.co.uk>
parent 8b3f7ce8
No related branches found
No related tags found
No related merge requests found
......@@ -15,30 +15,21 @@ metadata:
Basic functionality: services."
pre-conditions:
- "A second system with a terminal and git available on it. This test must be
executed before other tests and even before installing other packages in
the image, so the script to execute this test should be fetched from a
different machine."
- "Clone the apertis-tests repository in the second system:"
- $ git clone https://gitlab.apertis.org/infrastructure/apertis-tests.git
- "Copy the apertis-tests folder to the Apertis system. Since the Apertis
image runs sshd by default, you can easily copy this file using the scp
utility from the second machine, for this you will need the Apertis image
IP, which you can find running the ip command from Apertis:"
- "A second system with a terminal and git available on it is required in order
to run the above steps."
- "This test must be executed before other tests and even before installing
other packages in the image, so the script to execute this test should be
fetched from a different machine."
- "Since the Apertis image runs sshd by default, you can easily copy this file
using the scp utility from the second machine, for this you will need the
Apertis image IP, which you can find running the ip command from Apertis:"
- $ ip addr
- "Replace <APERTIS_IMAGE_IP> by the found IP and copy the apertis-tests
repository using scp from the second system where the apertis-tests
repository was cloned. It would look like this:"
- $ tar cf apertis-tests.tar apertis-tests/ && scp apertis-tests.tar user@<APERTIS_IMAGE_IP>:/home/user/
- "Alternatively, you can copy the apertis-tests directory in other ways, for
example by using an external storage device, manually mounting the device
and copying the folder. It is recommended and expected that you use scp
from a second machine."
- "Once the apertis-tests folder is available in the Apertis image, unpack it
in the apertis home user directory:"
- $ tar xf apertis-tests.tar
- "Enter the apertis-tests directory"
- $ cd apertis-tests/
- "Once the apertis-tests folder is available in the Apertis image, follow the
execution steps."
expected:
- "The command should report no failure and its output should be something
......
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