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