All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff King <peff@peff.net>
To: Michael Blume <blume.mike@gmail.com>
Cc: Git List <git@vger.kernel.org>
Subject: Re: TTY tests are unnecessarily suppressed under Mac OS
Date: Thu, 13 Nov 2014 16:10:26 -0500	[thread overview]
Message-ID: <20141113211025.GA7402@peff.net> (raw)
In-Reply-To: <CAO2U3QjGKYLRNWOWeoxqc_kmsdvhB5yfeRwQPuxTtf8n0XjBGA@mail.gmail.com>

On Thu, Nov 13, 2014 at 09:06:51PM +0000, Michael Blume wrote:

> Can do =)
> 
> uname -r spits out "14.0.0". Is there anything in git's testing library for
> comparing version strings or should I roll my own?

No, there's nothing standard for comparing version numbers. Probably

    test "$(uname -r | cut -d. -f1") -ge 14

sufficient.

-Peff

      parent reply	other threads:[~2014-11-13 21:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-12 22:25 TTY tests are unnecessarily suppressed under Mac OS Michael Blume
2014-11-13 20:20 ` Jeff King
     [not found]   ` <CAO2U3QjGKYLRNWOWeoxqc_kmsdvhB5yfeRwQPuxTtf8n0XjBGA@mail.gmail.com>
2014-11-13 21:10     ` Jeff King [this message]

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=20141113211025.GA7402@peff.net \
    --to=peff@peff.net \
    --cc=blume.mike@gmail.com \
    --cc=git@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 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.