[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/08: tests: guix-shell: Use bash instead of user's $SHELL.
From: |
guix-commits |
Subject: |
01/08: tests: guix-shell: Use bash instead of user's $SHELL. |
Date: |
Fri, 25 Aug 2023 12:28:36 -0400 (EDT) |
jpoiret pushed a commit to branch master
in repository guix.
commit 519c3b7803c48bfbb42053ab8edf7e052071be5f
Author: Josselin Poiret <dev@jpoiret.xyz>
AuthorDate: Fri Aug 11 14:22:44 2023 +0200
tests: guix-shell: Use bash instead of user's $SHELL.
* tests/guix-shell.sh (fd_list): Use bash instead of $SHELL. Some other
shells have trouble not opening too many fds. Also, bash in an implicit
input
of guix, so it should always be available.
---
tests/guix-shell.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/guix-shell.sh b/tests/guix-shell.sh
index ed368515eb..2f5fd86809 100644
--- a/tests/guix-shell.sh
+++ b/tests/guix-shell.sh
@@ -48,7 +48,7 @@ guix shell -s armhf-linux intelmetool -n && false
# opens a couple of extra FDs.
initial_fd_list="$(echo /proc/$$/fd/*)"
fd_list="$(guix shell --bootstrap guile-bootstrap -- \
- "$SHELL" -c 'echo /proc/$$/fd/*')"
+ bash -c 'echo /proc/$$/fd/*')"
test "$(echo $fd_list | wc -w)" -le "$(echo $initial_fd_list | wc -w)"
# Ignoring unauthorized files.
- branch master updated (1c916c167b -> 4fefbd4f14), guix-commits, 2023/08/25
- 03/08: build: Add dependency on guix script for help2man targets., guix-commits, 2023/08/25
- 02/08: image: Add mbr-raw-image-type and use by default., guix-commits, 2023/08/25
- 05/08: gnu: gcc-toolchain: Add empty librt.a., guix-commits, 2023/08/25
- 06/08: gnu: system: Add home-directory-permissions field to <user-account>., guix-commits, 2023/08/25
- 07/08: doc: Note that `guix shell` should contain base language packages., guix-commits, 2023/08/25
- 01/08: tests: guix-shell: Use bash instead of user's $SHELL.,
guix-commits <=
- 04/08: graph: Add GraphML backend., guix-commits, 2023/08/25
- 08/08: tests: guix-home: Fix description search for home-mcron., guix-commits, 2023/08/25