debian-forge-composer/cmd/osbuild-image-tests
Ondřej Budai b28f32312d test/image: improve logging of failed osbuild execution
Previously, the test merged stderr and stderr and treated it as json. This was
obviously wrong. osbuild's stderr only returns python exception that are
of course not json.

The behaviour is now different:

1) stderr and stdout are treated separately
2) json from stdout is indented to prevent long lines. If it fails the test
   just prints the stdout as returned from osbuild.
3) stderr is printed as returned from osbuild

Signed-off-by: Ondřej Budai <ondrej@budai.cz>
2021-03-04 12:29:16 +02:00
..
constants test/image: Fix test cases directory path in doc and code 2021-01-12 15:36:52 +01:00
main_test.go test/image: improve logging of failed osbuild execution 2021-03-04 12:29:16 +02:00