diff --git a/tests/Squashfs-compression-test.sh b/tests/Squashfs-compression-test.sh index 463710c..cfd1912 100755 --- a/tests/Squashfs-compression-test.sh +++ b/tests/Squashfs-compression-test.sh @@ -1,7 +1,6 @@ #!/bin/bash # We need rpmdev-vercmp -dnf install -y --nogpgcheck rpmdevtools rpm -q rpmdevtools > /dev/null 2>&1 || (echo 'rpmdev-vercmp from rpmdevtools is needed to run this script, aborting (failed).'; exit 1) # Define block sizes diff --git a/tests/test_working.yml b/tests/test_working.yml index 6d279b9..c13d303 100644 --- a/tests/test_working.yml +++ b/tests/test_working.yml @@ -12,7 +12,7 @@ block: - name: Execute the tests shell: | - /usr/local/bin/Squashfs-compression-test.sh &> /tmp/test.log; grep -iq failed /tmp/test.log && result=fail || result=pass + dnf install -y --nogpgcheck kernel-modules-extra rpmdevtools; (/usr/local/bin/Squashfs-compression-test.sh &> /tmp/test.log); grep -iq failed /tmp/test.log && result=fail || result=pass echo -e "results:\n- {result: $result, test: working}" > /tmp/results.yml always: - name: Pull out the logs