[LTP] [PATCH v7 1/4] Refactor regen.sh script to generate syscalls
Petr Vorel
pvorel@suse.cz
Thu Oct 31 15:08:47 CET 2024
Hi Andrea,
> > > --- /dev/null
> > > +++ b/include/lapi/syscalls/generate_syscalls.sh
> > > @@ -0,0 +1,109 @@
> > > +#!/bin/sh -eux
> > I'm very sorry, I asked for "#!/bin/sh -eux", but better would be without "x".
> > "x" prints output of the commands which is too verbose on generate_syscalls.sh.
> > Could you please, when you merge, change it to "#!/bin/sh -eu"?
> No problem, I will do it before merge.
+1
> > I'm not sure if it should stay in the other script.
> > This is on dash, but I suppose this can be reproducible on bash as well.
> > $ ./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
> Did you check the CI result I mentioned in the cover letter?
Yes, I did. Sure, it can be a problem with my setup (or it can be a bug in a
script which is visible only on certain setup).
Kind regards,
Petr
> Andrea
More information about the ltp
mailing list