[tests] added test for escaped job summary

(cherry picked from commit 3fbff14e9b)
This commit is contained in:
elyashiv 2023-07-09 16:44:25 +00:00 committed by David Adam
parent 51d5764fb2
commit 2d1a6561e1

View file

@ -0,0 +1,11 @@
# 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