public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:eapi7-ver commit in: eclass/tests/
Date: Wed,  6 Sep 2017 15:00:54 +0000 (UTC)	[thread overview]
Message-ID: <1504709633.d8e37d14f3547237fcb67fe3dd79a7b22f67ebd7.mgorny@gentoo> (raw)

commit:     d8e37d14f3547237fcb67fe3dd79a7b22f67ebd7
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Sep  6 14:53:53 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Sep  6 14:53:53 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8e37d14

eapi7-ver.eclass: Add more test cases

 eclass/tests/eapi7-ver.sh | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/eclass/tests/eapi7-ver.sh b/eclass/tests/eapi7-ver.sh
index 4a1315e42f3..a7fd55e374d 100755
--- a/eclass/tests/eapi7-ver.sh
+++ b/eclass/tests/eapi7-ver.sh
@@ -33,11 +33,17 @@ teq 1.2 version_cut 1-2 .1.2.3
 teq .1.2 version_cut 0-2 .1.2.3
 teq 2.3 version_cut 2-3 1.2.3.
 teq 2.3. version_cut 2- 1.2.3.
+teq 2.3. version_cut 2-4 1.2.3.
 
+teq 1.2-3 version_rs 2 - 1.2.3
+teq 1.2.3 version_rs 2 . 1.2-3
+teq 1.2.3.a version_rs 3 . 1.2.3a
+teq 1.2-alpha-4 version_rs 2-3 - 1.2_alpha4
 teq 1.23-b_alpha4 version_rs 3 - 2 "" 1.2.3b_alpha4
 teq a1b_2-c-3-d4e5 version_rs 3-5 _ 4-6 - a1b2c3d4e5
 teq .1-2.3 version_rs 1 - .1.2.3
 teq -1.2.3 version_rs 0 - .1.2.3
+teq 1.2.3. version_rs 3 . 1.2.3
 
 txf version_cut foo 1.2.3
 txf version_rs -3 _ a1b2c3d4e5


             reply	other threads:[~2017-09-06 15:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-06 15:00 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-09-24 15:43 [gentoo-commits] repo/gentoo:eapi7-ver commit in: eclass/tests/ Ulrich Müller
2017-09-22  7:20 Ulrich Müller
2017-09-21  7:04 Michał Górny
2017-09-08 11:11 Michał Górny
2017-09-06 15:00 Michał Górny
2017-09-06 13:48 Michał Górny

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=1504709633.d8e37d14f3547237fcb67fe3dd79a7b22f67ebd7.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.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