fish-shell/tests/checks/deep-cmdsub.fish
Johannes Altmanninger 1e858eae35 tests: filter control sequences only when interactive
This demonstrates that we only write control sequences when interactive.
2024-04-12 12:28:22 +02: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