From 58a8d3b180e3130bcbc9c371836d411474aa0c96 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Mon, 2 Dec 2024 23:16:28 +0100 Subject: tests: Adjust ‘guix build -P1’ test to new packages. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes a bug introduced in 794e079437c8687f49d294322dab3b7a8a6abacf whereby the grep patterns used in this test would also match /gnu/store/…-rust-libgit2-sys-0.17.0+1.8.1.drv, thus getting 5 matches instead of 4. * tests/guix-build.sh: Refine grep patterns for ‘guix build -P1’ test. Reported-by: Janneke Nieuwenhuizen Change-Id: Iae35e6ee44b8eca0ef66c1d8ab7f9ff65a59d8d0 --- tests/guix-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/guix-build.sh b/tests/guix-build.sh index 8707ed32c0..6d46d571a9 100644 --- a/tests/guix-build.sh +++ b/tests/guix-build.sh @@ -199,7 +199,7 @@ test `guix build -D hello -d \ # Building the dependents. test `guix build -P1 libgit2 -P1 libssh -d \ | grep -e 'guile-git.*\.drv$' -e 'guile-ssh.*\.drv$' \ - -e 'libgit2.*\.drv$' -e 'libssh.*\.drv$' \ + -e 'libgit2-[0-9].*\.drv$' -e 'libssh-[0-9].*\.drv$' \ | wc -l` -eq 4 # Unbound variable in thunked field. -- cgit v1.2.3