From 58a8d3b180e3130bcbc9c371836d411474aa0c96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Mon, 2 Dec 2024 23:16:28 +0100 Subject: [PATCH] =?UTF-8?q?tests:=20Adjust=20=E2=80=98guix=20build=20-P1?= =?UTF-8?q?=E2=80=99=20test=20to=20new=20packages.?= 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(-) 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.