fish-shell/tests/checks/jobs-are-escaped.fish

12 lines
158 B
Fish
Raw Normal View History

# 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