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:
parent
9246727096
commit
122ab25476
8 changed files with 62 additions and 48 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue