From 058491e35baa8bc73e14b48ceb765a3fe3c07e1f Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Tue, 6 Oct 2020 17:06:30 +0200 Subject: Added variable terminal size --- src/suites/flow.py | 4 ++-- src/suites/preprocess.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/suites') diff --git a/src/suites/flow.py b/src/suites/flow.py index babfd65..4f61283 100644 --- a/src/suites/flow.py +++ b/src/suites/flow.py @@ -6,7 +6,7 @@ # By: charles +#+ +:+ +#+ # # +#+#+#+#+#+ +#+ # # Created: 2020/07/15 18:24:52 by charles #+# #+# # -# Updated: 2020/09/17 11:03:23 by charles ### ########.fr # +# Updated: 2020/10/06 16:16:12 by cacharle ### ########.fr # # # # ############################################################################ # @@ -80,7 +80,7 @@ def suite_pipe(test): test("echo bonjour | | cat -e", hook=hooks.error_line0) test("echo bonjour | asdf") test("asdf | echo bonjour") - test("echo a ||| echo b") + test("echo a ||| echo b", hook=hooks.error_line0) test("ls " + 40 * " | ls", setup="touch a b c") test("ls " + 80 * " | ls", setup="touch a b c") test("echo bonjour " + 40 * " | cat -e") diff --git a/src/suites/preprocess.py b/src/suites/preprocess.py index bf88c49..fde8cc5 100644 --- a/src/suites/preprocess.py +++ b/src/suites/preprocess.py @@ -6,7 +6,7 @@ # By: juligonz +#+ +:+ +#+ # # +#+#+#+#+#+ +#+ # # Created: 2020/07/15 18:25:00 by charles #+# #+# # -# Updated: 2020/09/15 18:34:34 by charles ### ########.fr # +# Updated: 2020/10/06 16:31:11 by cacharle ### ########.fr # # # # **************************************************************************** # @@ -217,7 +217,7 @@ def suite_escape(test): test(r"/bin/echo ' \$? '") test(r"/bin/echo ' \\ '") test(r"/bin/echo ' \\\ '") - test("echo \\") + test("echo \\") # noting on linux test("echo \"\\\"\"'bonjour'") -- cgit