getcwd: Fix description format
PATCH 1/1 getcwd: Fix description format
Signed-off-by Wei Gao <[email protected]>
--- testcases/kernel/syscalls/getcwd/getcwd02.c | 12 +++++++----- testcases/kernel/syscalls/getcwd/getcwd03.c | 14 ++++++++------ 2 files changed, 15 insertions(+), 11 deletions(-)
testcases/kernel/syscalls/getcwd/getcwd02.c +7 -5
@@ -3,12 +3,14 @@* Copyright (c) International Business Machines Corp., 2001 */ -/* -* DESCRIPTION +/*\ +* [Description] +* * Testcase to check the basic functionality of the getcwd(2) system call. -* 1) getcwd(2) works fine if buf and size are valid. -* 2) getcwd(2) works fine if buf points to NULL and size is set to 0. -* 3) getcwd(2) works fine if buf points to NULL and size is greater than strlen(path). +* +* 1. getcwd(2) works fine if buf and size are valid. +* 2. getcwd(2) works fine if buf points to NULL and size is set to 0. +* 3. getcwd(2) works fine if buf points to NULL and size is greater than strlen(path). */ #include <errno.h>
testcases/kernel/syscalls/getcwd/getcwd03.c +8 -6
@@ -3,18 +3,20 @@* Copyright (c) International Business Machines Corp., 2001 */ -/* -* DESCRIPTION +/*\ +* [Description] +* * Testcase to check the basic functionality of the getcwd(2) * system call on a symbolic link. * * ALGORITHM -* 1) create a directory, and create a symbolic link to it at the +* +* 1. create a directory, and create a symbolic link to it at the * same directory level. -* 2) get the working directory of a directory, and its pathname. -* 3) get the working directory of a symbolic link, and its pathname, +* 2. get the working directory of a directory, and its pathname. +* 3. get the working directory of a symbolic link, and its pathname, * and its readlink info. -* 4) compare the working directories and link information. +* 4. compare the working directories and link information. */ #define _GNU_SOURCE 1
Signature · 5 lines
2.35.3 -- Mailing list info: https://lists.linux.it/listinfo/ltp