diff options
| author | Josselin Poiret <dev@jpoiret.xyz> | 2023-08-11 14:22:44 +0200 |
|---|---|---|
| committer | Josselin Poiret <dev@jpoiret.xyz> | 2023-08-25 14:23:43 +0200 |
| commit | 519c3b7803c48bfbb42053ab8edf7e052071be5f (patch) | |
| tree | ed0f7fd23a458efe1315ff866181c35f06b4a025 /tests/guix-shell.sh | |
| parent | 1c916c167b7eb1f2f8af2cf621aa1512b00b1033 (diff) | |
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.
Diffstat (limited to 'tests/guix-shell.sh')
| -rw-r--r-- | tests/guix-shell.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/guix-shell.sh b/tests/guix-shell.sh index ed368515eba..2f5fd868092 100644 --- a/tests/guix-shell.sh +++ b/tests/guix-shell.sh | |||
| @@ -48,7 +48,7 @@ guix shell -s armhf-linux intelmetool -n && false | |||
| 48 | # opens a couple of extra FDs. | 48 | # opens a couple of extra FDs. |
| 49 | initial_fd_list="$(echo /proc/$$/fd/*)" | 49 | initial_fd_list="$(echo /proc/$$/fd/*)" |
| 50 | fd_list="$(guix shell --bootstrap guile-bootstrap -- \ | 50 | fd_list="$(guix shell --bootstrap guile-bootstrap -- \ |
| 51 | "$SHELL" -c 'echo /proc/$$/fd/*')" | 51 | bash -c 'echo /proc/$$/fd/*')" |
| 52 | test "$(echo $fd_list | wc -w)" -le "$(echo $initial_fd_list | wc -w)" | 52 | test "$(echo $fd_list | wc -w)" -le "$(echo $initial_fd_list | wc -w)" |
| 53 | 53 | ||
| 54 | # Ignoring unauthorized files. | 54 | # Ignoring unauthorized files. |
