tests: guix-daemon.sh: Ignore guile locale warning.

Ignore "guile: warning: failed to install locale" lines
in the examined build log file. They are irrelevant for
this particular test and cause unexpected errors.

This commit contains the following changes:

    M tests/guix-daemon.sh

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Martin Schitter 2025-10-09 06:14:36 +00:00 committed by Ludovic Courtès
parent 0c5f4eeed8
commit e2ead32fe0
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -261,6 +261,6 @@ guix build "$drv"
log=`guix build "$drv" --log-file`
test -f "$log"
case "$log" in
*.gz) test "`gunzip -c < "$log"`" = "$stamp" ;;
*.gz) test "`gunzip -c < "$log" | grep -v 'guile: warning.*locale'`" = "$stamp" ;;
*) false ;;
esac