All of lore.kernel.org
 help / color / mirror / Atom feed
From: Petr Vorel <pvorel@suse.cz>
To: Cyril Hrubis <chrubis@suse.cz>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH v7 1/4] Refactor regen.sh script to generate syscalls
Date: Thu, 31 Oct 2024 14:44:24 +0100	[thread overview]
Message-ID: <20241031134424.GA1049242@pevik> (raw)
In-Reply-To: <ZyODpGheJSyv3EL9@yuki.lan>

> 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.

OK, it can be something on the setup of the VM I'm using (some Debian), which
uses dash as /bin/sh. I was not able to reproduce it on openSUSE Tumbleweed.
Feel free to ignore it.

But I have other error for generate_arch.sh which I'll report on the other
patchset.

Kind regards,
Petr

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

  reply	other threads:[~2024-10-31 13:44 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-31 11:57 [LTP] [PATCH v7 0/4] Automatically generate syscalls.h Andrea Cervesato
2024-10-31 11:57 ` [LTP] [PATCH v7 1/4] Refactor regen.sh script to generate syscalls Andrea Cervesato
2024-10-31 13:01   ` Petr Vorel
2024-10-31 13:18     ` Cyril Hrubis
2024-10-31 13:44       ` Petr Vorel [this message]
2024-10-31 13:37     ` Andrea Cervesato via ltp
2024-10-31 14:08       ` Petr Vorel
2024-10-31 11:57 ` [LTP] [PATCH v7 2/4] Add script to generate arch(s) dependant syscalls Andrea Cervesato
2024-10-31 13:58   ` Petr Vorel
2024-10-31 14:52     ` Andrea Cervesato via ltp
2024-10-31 15:31       ` pvorel
2024-10-31 11:57 ` [LTP] [PATCH v7 3/4] Delete obsolete strip_syscall.awk file Andrea Cervesato
2024-10-31 11:57 ` [LTP] [PATCH v7 4/4] Add documentation about syscalls.h generator Andrea Cervesato

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241031134424.GA1049242@pevik \
    --to=pvorel@suse.cz \
    --cc=chrubis@suse.cz \
    --cc=ltp@lists.linux.it \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.