fish-shell/tests/checks/deep-cmdsub.fish

12 lines
172 B
Fish
Raw Normal View History

# 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