fish-shell/tests/checks/jobs-are-escaped.fish
elyashiv 2d1a6561e1 [tests] added test for escaped job summary
(cherry picked from commit 3fbff14e9b)
2023-12-25 19:51:33 +08:00

12 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