git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: TTY tests are unnecessarily suppressed under Mac OS

From
Jeff King <peff@peff.net>
Date
Nov 13, 2014, 21:10 UTC
Message-ID
<20141113211025.GA7402@peff.net>
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
Previous: Jeff King
Message 3 of 3 in “TTY tests are unnecessarily suppressed under Mac OS”
  1. Michael BlumeNov 12, 2014
  2. Jeff KingNov 13, 2014
  3. Jeff KingNov 13, 2014

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.