tests: remove carriage return when using diff
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Wed, 19 Jun 2019 17:27:34 +0000 (13:27 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 27 Jun 2019 04:55:27 +0000 (00:55 -0400)
commitdc5c6472de97d256ef93359964f24ef2bf3ea034
treedbfa0e57a8d77711ae9b65d913bef8bbc62c7d68
parent037cbd1ac687161b52b6e1c5fd49dcd9d79a878f
tests: remove carriage return when using diff

Carriage return are a problem when running tests on cross execution
platform such as Windows. This only happen when diffing text generated
on Windows and text from a linux file.

The removal of mid-sentence '\r' is not a problem here since we do not
expect bt to generate this kind of string.

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Change-Id: I107c5487bf3aa0f5cbd1fdfd1e948ee93f830d2f
Reviewed-on: https://review.lttng.org/c/babeltrace/+/1521
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
Tested-by: jenkins <jenkins@lttng.org>
tests/utils/diff.sh.in
This page took 0.025171 seconds and 4 git commands to generate.