[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/06: tests: Adjust 'guix package' test to latest package search metric
From: |
guix-commits |
Subject: |
01/06: tests: Adjust 'guix package' test to latest package search metrics. |
Date: |
Tue, 20 Dec 2022 11:13:24 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit 680970490c556ae0029aa1ba2b0faba162118186
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Tue Dec 20 10:26:16 2022 +0100
tests: Adjust 'guix package' test to latest package search metrics.
With commit bbcd06e56c06376e640a7ac81a7109e7135a20f2, the command
"guix package -s '^fileutils$'" would match the 'ocaml-fileutils'
package, because its 'package-upstream-name*' is "fileutils". Work
around it.
Reported by Vagrant Cascadian.
* tests/guix-package.sh: Change "fileutils" example to use a different
package name.
---
tests/guix-package.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/guix-package.sh b/tests/guix-package.sh
index dedba2fd74..cc416ec6a1 100644
--- a/tests/guix-package.sh
+++ b/tests/guix-package.sh
@@ -149,11 +149,11 @@ cat > "$module_dir/foo.scm"<<EOF
#:use-module (gnu packages base))
(define-public deprecated
- (deprecated-package "fileutils" coreutils))
+ (deprecated-package "fileutils-is-the-old-name" coreutils))
EOF
guix build -L "$module_dir" -e '(@ (foo) deprecated)' -n
-test "`guix package -L "$module_dir" -s ^fileutils$ | grep ^name:`" = ""
+test "`guix package -L "$module_dir" -s ^fileutils-is-the-old-name$ | grep
^name:`" = ""
rm -rf "$module_dir"
- branch master updated (7fb27b5441 -> fcc4e51e61), guix-commits, 2022/12/20
- 03/06: cpio: Skip test on inode numbers that don't fit on 32 bits., guix-commits, 2022/12/20
- 04/06: services: opensmtpd: Use 'match-record' instead of 'match'., guix-commits, 2022/12/20
- 06/06: read-print: Add special forms., guix-commits, 2022/12/20
- 02/06: doc: Avoid 'match' on the <udev-configuration> record., guix-commits, 2022/12/20
- 01/06: tests: Adjust 'guix package' test to latest package search metrics.,
guix-commits <=
- 05/06: services: opensmtpd: Add 'shepherd-requirement' field., guix-commits, 2022/12/20