Add a test for deep command substitutions
This commit is contained in:
parent
b18f605e4f
commit
d38db1bc61
11
tests/checks/deep-cmdsub.fish
Normal file
11
tests/checks/deep-cmdsub.fish
Normal file
@ -0,0 +1,11 @@
|
||||
# RUN: %fish %s
|
||||
|
||||
# Ensure we don't hang on deep command substitutions - see #6503.
|
||||
|
||||
set s "echo hooray"
|
||||
for i in (seq 63)
|
||||
set s "echo ($s)"
|
||||
end
|
||||
eval $s
|
||||
#CHECK: hooray
|
||||
|
Loading…
x
Reference in New Issue
Block a user