From: Jason Lowe-Power Date: Fri, 22 Sep 2017 00:56:57 +0000 (-0500) Subject: tests: Fix hello.c test program X-Git-Tag: v19.0.0.0~1938 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e726ced4087e9b1bffad9e1da24a6cb7e0d8337f;p=gem5.git tests: Fix hello.c test program Update the hello test to have a sane return code. Change-Id: I9576b71ee995d8aa410c4ed19d44cc4e9fad10ee Signed-off-by: Jason Lowe-Power Reviewed-on: https://gem5-review.googlesource.com/4881 Reviewed-by: Nikos Nikoleris Reviewed-by: Anthony Gutierrez Reviewed-by: Andreas Sandberg Reviewed-by: Gabe Black Maintainer: Anthony Gutierrez Maintainer: Andreas Sandberg --- diff --git a/tests/test-progs/hello/src/hello.c b/tests/test-progs/hello/src/hello.c index be6ec83c3..4488f4e5f 100644 --- a/tests/test-progs/hello/src/hello.c +++ b/tests/test-progs/hello/src/hello.c @@ -30,8 +30,9 @@ #include -int main() +int main(int argc, char* argv[]) { printf("Hello world!\n"); + return 0; }