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

Cyril Hrubis chrubis@suse.cz
Thu Oct 31 14:18:28 CET 2024


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


More information about the ltp mailing list