From dcffe4adae3c591777fcbb78e16d202d31b2789e Mon Sep 17 00:00:00 2001 From: Guillaume Chanel <Guillaume.Chanel@unige.ch> Date: Fri, 18 Nov 2022 10:04:35 +0100 Subject: [PATCH] Correct IO test Removed "" which might interfer depending how the student parse the commands --- test/test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test.py b/test/test.py index 3702543..b7c99f0 100755 --- a/test/test.py +++ b/test/test.py @@ -378,7 +378,7 @@ class Test: shell = Shell(self.shell_exec) # Test file creation and correct content - cmd = Cmd(['echo', '-e', '"First line\\nSecond line\\nThird line"']) + cmd = Cmd(['echo', '-e', 'First line\\nSecond line\\nThird line']) def run_cmd(): cmd_shell = cmd + ['>', out_file] shell.exec_command(cmd_shell, timeout=1) -- GitLab