From 3fbff14e9b22545eb8c49711202c557383f1ce17 Mon Sep 17 00:00:00 2001 From: elyashiv Date: Sun, 9 Jul 2023 16:44:25 +0000 Subject: [PATCH] [tests] added test for escaped job summary --- tests/checks/jobs-are-escaped.fish | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 tests/checks/jobs-are-escaped.fish diff --git a/tests/checks/jobs-are-escaped.fish b/tests/checks/jobs-are-escaped.fish new file mode 100644 index 000000000..76a8722c1 --- /dev/null +++ b/tests/checks/jobs-are-escaped.fish @@ -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