@@ -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>
@@ -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
Signed-off-by: Wei Gao <wegao@suse.com> --- testcases/kernel/syscalls/getcwd/getcwd02.c | 12 +++++++----- testcases/kernel/syscalls/getcwd/getcwd03.c | 14 ++++++++------ 2 files changed, 15 insertions(+), 11 deletions(-)