]> git.ipfire.org Git - thirdparty/libvirt.git/commit
ci: integration: Add an extra level of quoting for augeas set options
authorErik Skultety <eskultet@redhat.com>
Wed, 12 Oct 2022 15:33:27 +0000 (17:33 +0200)
committerErik Skultety <eskultet@redhat.com>
Tue, 25 Oct 2022 07:40:43 +0000 (09:40 +0200)
commitddc4898080c93f328bb2180ec0126957a12d5b74
tree550e25a92032d5ba94be81c8f7a5512d90e334f3
parent045e642d29c4bd08a2b015152e287d1d42c7a034
ci: integration: Add an extra level of quoting for augeas set options

Both log filters and log outputs expect string values, however, augeas
apparently requires an extra level of quotes apart from the ones we
pass via shell (see comment [1]) to work properly, otherwise augeas
ignores the value and returns 0.
Without this fix we don't set libvirt's log level to debug, we don't
set logging to a file and hence we don't include the logs in CI
artifacts in case the test suite fails.

[1] https://github.com/hercules-team/augeas/issues/301#issuecomment-143699880

Signed-off-by: Erik Skultety <eskultet@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
ci/integration-template.yml