fish-shell/tests/checks/deep-cmdsub.fish
2020-01-18 11:50:50 -08:00

12 lines
172 B
Fish

# 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