test: depend on rpms rather than installing them explicitly

The -test subpackage should depend on all that it needs, and we should
never need to install anything explicitly from the test scripts.

Signed-off-by: Tom Gundersen <teg@jklm.no>
This commit is contained in:
Tom Gundersen 2020-10-07 01:12:31 +01:00 committed by Ondřej Budai
parent 9246727096
commit 122ab25476
8 changed files with 62 additions and 48 deletions

View file

@ -37,9 +37,6 @@ run_test_case () {
echo
}
# Ensure osbuild-composer-tests is installed.
sudo dnf -y install osbuild-composer-tests
# Change to the working directory.
cd $WORKING_DIRECTORY

View file

@ -74,11 +74,6 @@ run_test_case () {
echo
}
# Ensure osbuild-composer-tests is installed.
if ! rpm -qi osbuild-composer-tests > /dev/null 2>&1; then
sudo dnf -y install osbuild-composer-tests
fi
# Change to the working directory.
cd $WORKING_DIRECTORY