Re: [LTP] [PATCH v7 1/4] Refactor regen.sh script to generate syscalls

Cyril Hrubis
2024-10-31T13:18:43Z

Hi!
> $ ./configure
> ...
> + syscall_nr=__NR_writev
> + echo # ifndef __NR_writev
> + echo # define __NR_writev __LTP__NR_INVALID_SYSCALL
> + echo # endif
> + echo #endif
>
> $ ./configure > /tmp/out 2> /tmp/err; wc -l /tmp/out /tmp/err
>
> on master:
> 290 /tmp/out
> 3 /tmp/err
> 293 total
>
> on v7 (at least what I apply from https://patchwork.ozlabs.org/series/430633/mbox/):
> 289 /tmp/out
> 48706 /tmp/err
> 48995 total

The /tmp/out now looks fine, there is a single line difference, that is
the empty newline at the start of the file I asked to remove.

--
Cyril Hrubis
chrubis@suse.cz