[libvirt PATCH] ci: integration: Rename all Avocado standard stream log files to *.log

Erik Skultety eskultet at redhat.com
Tue Mar 22 16:11:19 UTC 2022


On Tue, Mar 22, 2022 at 01:47:32PM +0000, Daniel P. Berrangé wrote:
> On Tue, Mar 22, 2022 at 01:11:22PM +0100, Erik Skultety wrote:
> > By default, stdout/stderr Avocado test log files do not have any file
> > extension which confuses GitLab's web UI to mangle the MIME type for
> > these and so the browser will never offer the option to open such file
> > from in a text editor rather than dowloading it.
> > Since GitLab sets a proper MIME for .txt and .log file extensions,
> > rename all Avocado log files without an extension to *.log . This pairs
> > nicely with the coredumpctl info file which we already name as
> > 'coredumpctl.txt' because of this.
> 
> Or should be ask the Avocado maintainers to do this so files have
> a sensible name from the start. IMHO it is bad practice for any
> app to create files without an meaningful extension.

created an Avocado issue:
https://github.com/avocado-framework/avocado/issues/5293

...and pushed this change

Thanks,
Erik



More information about the libvir-list mailing list