[PATCH 2/2] binutils/testsuite: don't tail the same input and output file
Jan Beulich
jbeulich@suse.com
Tue Apr 1 08:12:16 GMT 2025
On 01.04.2025 09:56, Clément Chigot wrote:
> --- a/binutils/testsuite/binutils-all/objdump.exp
> +++ b/binutils/testsuite/binutils-all/objdump.exp
> @@ -595,8 +595,8 @@ if { ![is_elf_format] } then {
> send_log "\n"
> }
>
> - set got [remote_exec host "tail -n +4 tmpdir/objdump.out" "" "/dev/null" "tmpdir/objdump.out"]
> - set output [remote_upload host tmpdir/objdump.out]
> + set got [remote_exec host "tail -n +4 tmpdir/objdump.out" "" "/dev/null" "tmpdir/objdump-tailed.out"]
> + set output [remote_upload host tmpdir/objdump-tailed.out]
For the sake of not making unnecessarily long names - maybe objdump.tail?
Just a preference - okay either way.
Jan
More information about the Binutils
mailing list