Skip to content
Snippets Groups Projects
Commit dcffe4ad authored by Guillaume Chanel's avatar Guillaume Chanel
Browse files

Correct IO test

Removed "" which might interfer depending how the student parse
the commands
parent f7ec8f82
No related branches found
No related tags found
No related merge requests found
Pipeline #20645 failed
...@@ -378,7 +378,7 @@ class Test: ...@@ -378,7 +378,7 @@ class Test:
shell = Shell(self.shell_exec) shell = Shell(self.shell_exec)
# Test file creation and correct content # 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(): def run_cmd():
cmd_shell = cmd + ['>', out_file] cmd_shell = cmd + ['>', out_file]
shell.exec_command(cmd_shell, timeout=1) shell.exec_command(cmd_shell, timeout=1)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment