Re: [PATCH] decodetree: Do not remove output_file from /dev

2023-05-26 Thread Richard Henderson
On 5/26/23 12:52, Peter Maydell wrote: On Fri, 26 May 2023 at 18:40, Richard Henderson wrote: Nor report any PermissionError on remove. Previously we were testing with "> /dev/null", but that's not easy to do with meson test(), so we want to use '-o /dev/null' instead. That works fine for all

Re: [PATCH] decodetree: Do not remove output_file from /dev

2023-05-26 Thread Peter Maydell
On Fri, 26 May 2023 at 18:40, Richard Henderson wrote: > > Nor report any PermissionError on remove. > > Previously we were testing with "> /dev/null", but that's not easy > to do with meson test(), so we want to use '-o /dev/null' instead. > That works fine for all of the existing tests, where al

[PATCH] decodetree: Do not remove output_file from /dev

2023-05-26 Thread Richard Henderson
Nor report any PermissionError on remove. Previously we were testing with "> /dev/null", but that's not easy to do with meson test(), so we want to use '-o /dev/null' instead. That works fine for all of the existing tests, where all errors are diagnosed before opening the output file. However, PM