Add a test for deep command substitutions

This commit is contained in:
ridiculousfish 2020-01-18 11:50:50 -08:00
parent b18f605e4f
commit d38db1bc61

View 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