From 7865a45e535ad4967c140f524fd16e78ce709a3f Mon Sep 17 00:00:00 2001 From: Luis Araujo <luis.araujo@collabora.co.uk> Date: Mon, 17 Dec 2018 17:51:32 +0800 Subject: [PATCH] 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: Luis Araujo <luis.araujo@collabora.co.uk> --- test-cases/sanity-check.yaml | 29 ++++++++++------------------- 1 file changed, 10 insertions(+), 19 deletions(-) diff --git a/test-cases/sanity-check.yaml b/test-cases/sanity-check.yaml index 403c0e1..04decbe 100644 --- a/test-cases/sanity-check.yaml +++ b/test-cases/sanity-check.yaml @@ -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 -- GitLab