tcsh-org / tcsh

This is a read-only mirror of the tcsh code repository.
https://www.tcsh.org/
Other
232 stars 42 forks source link

shlvl test fails with Bash 5.2 #52

Closed mbakke closed 1 year ago

mbakke commented 1 year ago

Hi there,

bash 5.2 changed the way subshells modify SHLVL, causing variables.at to fail thusly:

## ---------------------- ##
## Detailed failed tests. ##
## ---------------------- ##

#                             -*- compilation -*-
225. variables.at:957: testing $ shlvl ...
./variables.at:970: SHLVL=5 tcsh -f shlvl.csh
--- -   2022-09-20 09:03:28.044483058 +0000
+++ /tmp/guix-build-tcsh-6.24.01.drv-0/tcsh-6.24.01/testsuite.dir/at-groups/225/stdout  2022-09-20 09:03:28.040700982 +0000
@@ -1,4 +1,4 @@
-6
+5
 8
 2
 3
225. variables.at:957: 225. $ shlvl (variables.at:957): FAILED (variables.at:970)
suominen commented 1 year ago

Fixed in 391b04ec25b0d046d532d46a7468fa7a759d0115 — thank you for the report.