dodona-edu / universal-judge

Universal judge for educational software testing
https://docs.dodona.be/en/tested
MIT License
9 stars 4 forks source link

Fix newline behavior of standard input/output channels #430

Closed pdawyndt closed 7 months ago

pdawyndt commented 10 months ago

Fix if test suites should explicitly set newlines for input/output channels.

- cases:
  - stdin: "echo\n"
    stdout: "echo\n"
    stderr: "echo\n" 

In the documentation, we'd better give some information on how the different (multiline) string options preserve/remove newlines.

Fix how correct use of newlines in output channels is checked.

Are (trailing) newlines ignored? This currenly seems default behavior, but wouldn't it be better if this were some explicit setting?

niknetniko commented 7 months ago

I did not see this issue, so duplicate of the newer issue #462.