tests: Adjust to recent changes to the 'emacs' package.

Test regression introduced in f88fea0eaa5796303790450ee4543a6d7e61a06e.

* tests/guix-package.sh: Add minor and patch levels in the version
numbers of 'emacs-foo-bar' and 'emacs-foo-bar-patched'.
This commit is contained in:
Ludovic Courtès 2020-10-02 09:38:46 +02:00
parent 9471aea76a
commit cc34693152
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5

@ -1,5 +1,5 @@
# GNU Guix --- Functional package management for GNU
# Copyright © 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019 Ludovic Courtès <ludo@gnu.org>
# Copyright © 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020 Ludovic Courtès <ludo@gnu.org>
# Copyright © 2013 Nikita Karetnikov <nikita@karetnikov.org>
#
# This file is part of GNU Guix.
@ -257,7 +257,7 @@ cat > "$module_dir/foo.scm"<<EOF
(define-public x
(package (inherit emacs)
(name "emacs-foo-bar")
(version "42")))
(version "42.77.0")))
EOF
guix package -A emacs-foo-bar -L "$module_dir" | grep 42
@ -298,7 +298,7 @@ cat > "$module_dir/foo.scm"<<EOF
(source (origin (inherit (package-source emacs))
(patches (list (search-patch "emacs.patch")))))
(name "emacs-foo-bar-patched")
(version "42")))
(version "42.42.42")))
(define-public y
(package (inherit emacs)