2
0
Fork 0
mirror of https://github.com/fish-shell/fish-shell synced 2025-01-29 13:23:33 +00:00
fish-shell/tests/checks/jobs-are-escaped.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

11 lines
158 B
Fish

# RUN: %fish %s
# Ensure that jobs are printed with new lines escaped
sleep \
100 &
jobs
#CHECK: Job Group{{.*}}
# CHECK: 1{{.*\t}}sleep \\\n100 &
kill %1