Mercurial > hg-stable
comparison tests/test-run-tests.t @ 12940:518dd70d1a6e stable
tests: (no-eol) markup for command output without trailing LF
Output chunks without a trailing LF will now work but get (no-eol) appended.
This change mostly moves code around so we can handle that an output line
starts with data from previous command, followed by salt and the next command.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Mon, 08 Nov 2010 01:35:40 +0100 |
parents | 66a07fb76ceb |
children | f30c0a7b8346 |
comparison
equal
deleted
inserted
replaced
12934:ea7ad8c3988a | 12940:518dd70d1a6e |
---|---|
1 Simple commands: | 1 Simple commands: |
2 | 2 |
3 $ echo foo | 3 $ echo foo |
4 foo | 4 foo |
5 $ printf 'oh no' | |
6 oh no (no-eol) | |
5 $ printf 'bar\nbaz\n' | cat | 7 $ printf 'bar\nbaz\n' | cat |
6 bar | 8 bar |
7 baz | 9 baz |
8 | 10 |
9 Multi-line command: | 11 Multi-line command: |