summaryrefslogtreecommitdiff
path: root/tests/gnu-maintenance.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2021-03-20 21:53:27 +0100
committerLudovic Courtès <ludo@gnu.org>2021-03-20 22:29:14 +0100
commit1710e8cb59e2ef6f1e0eb19235b6a4f1b8158bc4 (patch)
tree416df3a2672b7c72a1a606b7a4e6a5268a0be131 /tests/gnu-maintenance.scm
parent52e64b21be50e2c5febd7bf1accd88ffdc05a4bb (diff)
gnu-maintenance: Accept underscores as package/version separators.
Fixes <https://bugs.gnu.org/47256>. Reported by Léo Le Bouter <lle-bout@zaclys.net>. * guix/gnu-maintenance.scm (%tarball-rx, %package-name-rx): Accept underscore as the package/version separator in tarball names. * tests/gnu-maintenance.scm ("release-file?"): Add "mediainfo" test.
Diffstat (limited to 'tests/gnu-maintenance.scm')
-rw-r--r--tests/gnu-maintenance.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/gnu-maintenance.scm b/tests/gnu-maintenance.scm
index 4f2f1ae9439..a3e48a0933c 100644
--- a/tests/gnu-maintenance.scm
+++ b/tests/gnu-maintenance.scm
@@ -1,5 +1,5 @@
1;;; GNU Guix --- Functional package management for GNU 1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2015 Ludovic Courtès <ludo@gnu.org> 2;;; Copyright © 2015, 2021 Ludovic Courtès <ludo@gnu.org>
3;;; 3;;;
4;;; This file is part of GNU Guix. 4;;; This file is part of GNU Guix.
5;;; 5;;;
@@ -29,7 +29,8 @@
29 '(("gcc" "gcc-5.3.0.tar.bz2") 29 '(("gcc" "gcc-5.3.0.tar.bz2")
30 ("texmacs" "TeXmacs-1.0.7.9-src.tar.gz") 30 ("texmacs" "TeXmacs-1.0.7.9-src.tar.gz")
31 ("icecat" "icecat-38.4.0-gnu1.tar.bz2") 31 ("icecat" "icecat-38.4.0-gnu1.tar.bz2")
32 ("mit-scheme" "mit-scheme-9.2.tar.gz"))) 32 ("mit-scheme" "mit-scheme-9.2.tar.gz")
33 ("mediainfo" "mediainfo_20.09.tar.xz")))
33 (every (lambda (project+file) 34 (every (lambda (project+file)
34 (not (apply release-file? project+file))) 35 (not (apply release-file? project+file)))
35 '(("guile" "guile-www-1.1.1.tar.gz") 36 '(("guile" "guile-www-1.1.1.tar.gz")