diff options
author | Jonathan Neuschäfer <j.neuschaefer@gmx.net> | 2016-04-13 02:47:24 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-04-13 17:37:03 +0200 |
commit | 3cfbc4a60873691d7ee21dda388c268b811782dd (patch) | |
tree | 40beebc2a80ca583f0a8a6cca5d5b466602fa2c2 /util/romcc/tests/linux_test8.c | |
parent | 9551cf47093e4a471c4859eb9ed8e9bbf51a3afc (diff) |
romcc: Use UNIX line endings in linux tests
This makes it easier to check the output against a reference output.
Change-Id: I9c7ae538b708399a5cadd18e498618d7480d240f
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Reviewed-on: https://review.coreboot.org/14276
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'util/romcc/tests/linux_test8.c')
-rw-r--r-- | util/romcc/tests/linux_test8.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/util/romcc/tests/linux_test8.c b/util/romcc/tests/linux_test8.c index adee3c108d..dfd377635d 100644 --- a/util/romcc/tests/linux_test8.c +++ b/util/romcc/tests/linux_test8.c @@ -9,13 +9,13 @@ struct mem_param { unsigned dch_memclk; unsigned short dch_tref4k, dch_tref8k; unsigned char dtl_twr; - char name[9]; + char name[8]; }; static void test(void) { static const struct mem_param param0 = { - .name = "166Mhz\r\n", + .name = "166Mhz\n", .cycle_time = 0x60, .divisor = (6<<1), .tRC = 0x3C, @@ -34,6 +34,6 @@ static void test(void) clocks = (value + (param->divisor << 1) - 1)/(param->divisor << 1); print_debug("clocks: "); print_debug_hex32(clocks); - print_debug("\r\n"); + print_debug("\n"); _exit(0); } |