Util-Linux Archive mirror
 help / color / mirror / Atom feed
From: Karel Zak <kzak@redhat.com>
To: Anatoly Pugachev <matorola@gmail.com>
Cc: Nathan Sharp <nwsharp@live.com>, util-linux <util-linux@vger.kernel.org>
Subject: Re: [PATCH] pipesz: use native PAGE_SIZE in tests
Date: Mon, 6 Jun 2022 12:24:46 +0200	[thread overview]
Message-ID: <20220606102446.3zdh5ljmndyzr4hi@ws.net.home> (raw)
In-Reply-To: <CADxRZqxFetP=SczfzZtpx_G1OgseFtpLLQwDhLhCJ_NMGRGhUg@mail.gmail.com>

On Sat, Jun 04, 2022 at 11:28:08AM +0300, Anatoly Pugachev wrote:
> On Sat, Jun 4, 2022 at 5:00 AM Nathan Sharp <nwsharp@live.com> wrote:
> > Reported-by: Anatoly Pugachev <matorola@gmail.com>
> > --- a/tests/ts/misc/pipesz
> > +++ b/tests/ts/misc/pipesz
> > @@ -18,6 +18,10 @@ TS_DESC="pipesz"
> >  . $TS_TOPDIR/functions.sh
> >  ts_init "$*"
> >
> > +set -o pipefail
> > +
> > +DEFAULT_PIPE_SIZE=$(($(getconf PAGE_SIZE) * 16))
> 
> DEFAULT_PIPE_SIZE=$(($($TS_HELPER_SYSINFO pagesize) * 16))
> 
> to be consistent with other tests

 Fixed.

    Karel

-- 
 Karel Zak  <kzak@redhat.com>
 http://karelzak.blogspot.com


  reply	other threads:[~2022-06-06 10:25 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20220412045930.236051-1-nwsharp@live.com>
2022-04-12  4:59 ` [PATCH RFC 1/4] misc-utils: add the pipesz utility Nathan Sharp
2022-05-04 10:50   ` Karel Zak
2022-05-06  2:58     ` Nathan Sharp
2022-05-18  9:04       ` Karel Zak
2022-04-12  4:59 ` [PATCH RFC 2/4] pipesz: add tests Nathan Sharp
2022-06-03 11:49   ` Anatoly Pugachev
2022-06-04  2:00     ` [PATCH] pipesz: use native PAGE_SIZE in tests Nathan Sharp
2022-06-04  8:16       ` Anatoly Pugachev
2022-06-04  8:28       ` Anatoly Pugachev
2022-06-06 10:24         ` Karel Zak [this message]
2022-06-06 10:24       ` Karel Zak
2022-04-12  4:59 ` [PATCH RFC 3/4] pipesz: add manpage Nathan Sharp
2022-04-12  4:59 ` [PATCH RFC 4/4] pipesz: add bash-completion script Nathan Sharp

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=20220606102446.3zdh5ljmndyzr4hi@ws.net.home \
    --to=kzak@redhat.com \
    --cc=matorola@gmail.com \
    --cc=nwsharp@live.com \
    --cc=util-linux@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).