From e726ced4087e9b1bffad9e1da24a6cb7e0d8337f Mon Sep 17 00:00:00 2001 From: Jason Lowe-Power Date: Thu, 21 Sep 2017 19:56:57 -0500 Subject: [PATCH] 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 --- tests/test-progs/hello/src/hello.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- 2.30.2