guix_mirror_bot pushed a commit to branch master
in repository guix.

commit a310919418d8d5c25c3d425374fafc881658b5f7
Author: Jelle Licht <[email protected]>
AuthorDate: Sat Oct 17 17:09:27 2026 +0200

    tests: Make hint checks independent of the terminal width.
    
    Hints are filled to 'COLUMNS', making tests/guix-build.sh and
    tests/guix-system.sh fail in narrow terminals in some situations.
    
    * build-aux/test-env.in: Unset 'COLUMNS'.
---
 build-aux/test-env.in | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/build-aux/test-env.in b/build-aux/test-env.in
index 7f46ec9fca2..447a40b865a 100644
--- a/build-aux/test-env.in
+++ b/build-aux/test-env.in
@@ -160,6 +160,9 @@ unset LANGUAGE
 LC_MESSAGES=C
 export LC_MESSAGES
 
+# Hints are filled to the terminal width; use the default width.
+unset COLUMNS
+
 # Disable grafts by default because they can cause things to be built
 # regardless of '--dry-run'.
 GUIX_BUILD_OPTIONS="--no-grafts"

Reply via email to