[tests] added test for escaped job summary
(cherry picked from commit 3fbff14e9b22545eb8c49711202c557383f1ce17)
This commit is contained in:
parent
51d5764fb2
commit
2d1a6561e1
11
tests/checks/jobs-are-escaped.fish
Normal file
11
tests/checks/jobs-are-escaped.fish
Normal 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
|
Loading…
x
Reference in New Issue
Block a user