util-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Karel Zak <kzak@redhat.com>
To: Sami Kerola <kerolasa@iki.fi>
Cc: util-linux@vger.kernel.org, Adam Sampson <ats@offog.org>
Subject: Re: [PATCH 23/23] tests: fix the ipcs test for shmall being too big to show
Date: Wed, 1 Oct 2014 11:45:27 +0200	[thread overview]
Message-ID: <20141001094527.GK26272@x2.net.home> (raw)
In-Reply-To: <1411933916-30576-24-git-send-email-kerolasa@iki.fi>

On Sun, Sep 28, 2014 at 08:51:56PM +0100, Sami Kerola wrote:
> diff --git a/tests/ts/ipcs/limits2 b/tests/ts/ipcs/limits2
> index 1a49c46..4e96ce6 100755
> --- a/tests/ts/ipcs/limits2
> +++ b/tests/ts/ipcs/limits2
> @@ -29,7 +29,7 @@ ts_check_prog "bc"
>  
>  # TODO https://github.com/karelzak/util-linux/issues/51
>  SHMALL=$(</proc/sys/kernel/shmall)
> -if [ $(bc <<<"2^64 / $PAGE_SIZE < $SHMALL") -ne 1 ]; then
> +if [ $(bc <<<"(2^64 / $PAGE_SIZE) <= $SHMALL") -eq 1 ]; then
>  	TS_KNOWN_FAIL="yes"
>  fi

 Ah, I have already fixed this manually :-)

    Karel

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

  reply	other threads:[~2014-10-01  9:45 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-28 19:51 [PATCH 00/23] pull: mostly textual and compiler warning fix changes Sami Kerola
2014-09-28 19:51 ` [PATCH 01/23] swapon: align available columns section in usage() Sami Kerola
2014-09-28 19:51 ` [PATCH 02/23] docs: update deprecation banners Sami Kerola
2014-09-28 19:51 ` [PATCH 03/23] hexdump: remove deprecation message Sami Kerola
2014-09-28 19:51 ` [PATCH 04/23] textual: fix couple typos in comments Sami Kerola
2014-09-28 19:51 ` [PATCH 05/23] flock: add error message to translations Sami Kerola
2014-09-28 19:51 ` [PATCH 06/23] textual: use version printing macro everywhere Sami Kerola
2014-09-28 19:51 ` [PATCH 07/23] textual: use manual tail usage() macro Sami Kerola
2014-09-28 19:51 ` [PATCH 08/23] textual: use usage() text element macros Sami Kerola
2014-09-28 19:51 ` [PATCH 09/23] libuuid: remove _SVID_SOURCE pre-processor definition Sami Kerola
2014-09-28 19:51 ` [PATCH 10/23] include: fix compiler warnings Sami Kerola
2014-09-28 19:51 ` [PATCH 11/23] lsblk: fix compiler warning Sami Kerola
2014-09-28 19:51 ` [PATCH 12/23] libblkid: use pre-processor to optimize out code Sami Kerola
2014-10-01 10:22   ` Karel Zak
2014-09-28 19:51 ` [PATCH 13/23] libblkid: fix implicit constant conversion warning Sami Kerola
2014-09-28 19:51 ` [PATCH 14/23] include/debug: remove duplicate 'const' declaration warning Sami Kerola
2014-09-28 19:51 ` [PATCH 15/23] cfdisk: add missing initializers to struct main_menuitems Sami Kerola
2014-10-01 10:27   ` Karel Zak
2014-09-28 19:51 ` [PATCH 16/23] findmnt: add missing initializers to struct colinfo Sami Kerola
2014-09-28 19:51 ` [PATCH 17/23] lsblk: " Sami Kerola
2014-09-28 19:51 ` [PATCH 18/23] hwclock: use fabs() instead abs() when argument is double Sami Kerola
2014-09-28 19:51 ` [PATCH 19/23] lscpu: add missing initializers to struct lscpu_coldesc Sami Kerola
2014-09-28 19:51 ` [PATCH 20/23] libsmartcols: add explicit column flags default Sami Kerola
2014-10-01 10:29   ` Karel Zak
2014-09-28 19:51 ` [PATCH 21/23] lslogins: add missing initializers to struct lslogins_coldesc Sami Kerola
2014-09-28 19:51 ` [PATCH 22/23] lslogins: use more narrow layout when initializing struct members Sami Kerola
2014-10-01 10:32   ` Karel Zak
2014-09-28 19:51 ` [PATCH 23/23] tests: fix the ipcs test for shmall being too big to show Sami Kerola
2014-10-01  9:45   ` Karel Zak [this message]
2014-10-01 11:14 ` [PATCH 00/23] pull: mostly textual and compiler warning fix changes Karel Zak

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=20141001094527.GK26272@x2.net.home \
    --to=kzak@redhat.com \
    --cc=ats@offog.org \
    --cc=kerolasa@iki.fi \
    --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 NNTP newsgroup(s).