test/oscap.sh: provision SUT for the on-premise scenario

The PR#2695 [1] was not rebased on top of PR#2853 [2]. As a result, the
`oscap.sh` test case is provisioning the SUT in a wrong way, which makes
it fail all the time.

Provision the SUT in the test case for the on-premise scenario, since it
uses Weldr API to interact with osbuild-composer.

[1] https://github.com/osbuild/osbuild-composer/pull/2695
[2] https://github.com/osbuild/osbuild-composer/pull/2853
This commit is contained in:
Tomas Hozza 2022-08-05 12:59:08 +02:00 committed by Tomáš Hozza
parent 24c52c8d69
commit 2d13050ba8

View file

@ -4,7 +4,7 @@ set -euo pipefail
OSBUILD_COMPOSER_TEST_DATA=/usr/share/tests/osbuild-composer/
# Provision the software under test.
/usr/libexec/osbuild-composer-test/provision.sh
/usr/libexec/osbuild-composer-test/provision.sh none
# Get OS data.
source /etc/os-release