diff options
author | Ludovic Courtès <ludo@gnu.org> | 2024-12-02 23:16:28 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2024-12-02 23:18:52 +0100 |
commit | 58a8d3b180e3130bcbc9c371836d411474aa0c96 (patch) | |
tree | 1201607f0be2fe839060c83313fdbb1a8bc1e330 /tests | |
parent | d97a67d41de142c0fbdba55e96bfc147482bfae2 (diff) |
tests: Adjust ‘guix build -P1’ test to new packages.
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 <janneke@gnu.org>
Change-Id: Iae35e6ee44b8eca0ef66c1d8ab7f9ff65a59d8d0
Diffstat (limited to 'tests')
-rw-r--r-- | tests/guix-build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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. |