Message ID | 20230808154141.23780-1-akumar@suse.de |
---|---|
State | Accepted |
Headers | show |
Series | gethostname01: Fix docparse format and make check warning | expand |
Pushed, thanks!
diff --git a/testcases/kernel/syscalls/gethostname/gethostname01.c b/testcases/kernel/syscalls/gethostname/gethostname01.c index ff8c342d8..f2276a38c 100644 --- a/testcases/kernel/syscalls/gethostname/gethostname01.c +++ b/testcases/kernel/syscalls/gethostname/gethostname01.c @@ -4,7 +4,7 @@ * Copyright (c) 2023 SUSE LLC Ioannis Bonatakis <ybonatakis@suse.com> */ -/* +/*\ * [Description] * * Test is checking that gethostname() succeeds. @@ -16,6 +16,7 @@ static void run(void) { char hname[100]; + TST_EXP_PASS(gethostname(hname, sizeof(hname))); }
Signed-off-by: Avinesh Kumar <akumar@suse.de> --- testcases/kernel/syscalls/gethostname/gethostname01.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)