coreboot-kgpe-d16/util/romcc/tests/linux_test1.c
Jonathan Neuschäfer 3cfbc4a608 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>
2016-04-13 17:37:03 +02:00

8 lines
151 B
C

#include "linux_syscall.h"
static void main(void)
{
static const char msg[] = "hello world\n";
write(STDOUT_FILENO, msg, sizeof(msg));
_exit(0);
}