tests: Update ‘guix build -P1’ test.

Fixes a regression introduced with
63b635e073.

* tests/guix-build.sh: Replace libgit2 by libgcrypt in ‘-P1’ example.

Change-Id: Idb2a18dd8455ee6bfda14284834a6f37ccec6a05
This commit is contained in:
Ludovic Courtès 2025-04-15 09:44:47 +02:00
parent a5f09791fd
commit 9d850eb2f3
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -1,5 +1,5 @@
# GNU Guix --- Functional package management for GNU
# Copyright © 2012-2014, 2016-2024 Ludovic Courtès <ludo@gnu.org>
# Copyright © 2012-2014, 2016-2025 Ludovic Courtès <ludo@gnu.org>
# Copyright © 2020 Marius Bakke <mbakke@fastmail.com>
# Copyright © 2021 Chris Marusich <cmmarusich@gmail.com>
#
@ -197,9 +197,10 @@ test `guix build -D hello -d \
| wc -l` -ge 3
# Building the dependents.
test `guix build -P1 libgit2 -P1 libssh -d \
| grep -e 'guile-git.*\.drv$' -e 'guile-ssh.*\.drv$' \
-e 'libgit2-[0-9].*\.drv$' -e 'libssh-[0-9].*\.drv$' \
test `guix build -P1 libgcrypt -P1 libssh -d \
| grep -e 'guile-gcrypt.*\.drv$' -e 'guile-ssh.*\.drv$' \
-e 'libgcrypt-[0-9].*\.drv$' -e 'libssh-[0-9].*\.drv$' \
| sort -u \
| wc -l` -eq 4
# Unbound variable in thunked field.