test: add test that checks that --progress works correctly

This commit checks that the `--progress` argument generates the
expected output, i.e. with `term` we will not get any osbuild
output and the spinner. And with `verbose` we will not get a
spinner and the osbuild output.
This commit is contained in:
Michael Vogt 2025-01-27 17:40:16 +01:00
parent 9a0f2ee7d7
commit c78ea5f2b2
2 changed files with 23 additions and 0 deletions

View file

@ -32,6 +32,7 @@ def build_fake_container_fixture(tmpdir_factory, build_container):
# do this images may fail with "broken" pipe errors
cat - >/dev/null
echo "osbuild-stdout-output"
mkdir -p /output/qcow2
echo "fake-disk.qcow2" > /output/qcow2/disk.qcow2