summaryrefslogtreecommitdiffstats
path: root/testsuites/fstests/fserror
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2011-08-02 14:24:59 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2011-08-02 14:24:59 +0000
commit6fed43eabc0e78606cf80439c536a00be18fd743 (patch)
treef74fea0e1e6b46a7acea595ad70131a6b25f34df /testsuites/fstests/fserror
parent2011-08-02 Ricardo Aguirre <el.mastin@ymail.com> (diff)
downloadrtems-6fed43eabc0e78606cf80439c536a00be18fd743.tar.bz2
2011-08-02 Xiang Cui <medivhc@gmail.com>
* configure.ac, fserror/test.c, fslink/test.c, fspermission/test.c, fsrdwr/init.c, fssymlink/test.c, fstime/test.c, mdosfs_support/fs_config.h, mdosfs_support/fs_support.c, mimfs_support/fs_support.c, mrfs_support/fs_config.h, support/fstest.h, support/fstest_support.c, support/ramdisk_support.c, support/ramdisk_support.h: Perform first phase of clean up.
Diffstat (limited to 'testsuites/fstests/fserror')
-rw-r--r--testsuites/fstests/fserror/test.c20
1 files changed, 11 insertions, 9 deletions
diff --git a/testsuites/fstests/fserror/test.c b/testsuites/fstests/fserror/test.c
index d30eb5c6d9..61cf12f791 100644
--- a/testsuites/fstests/fserror/test.c
+++ b/testsuites/fstests/fserror/test.c
@@ -69,7 +69,7 @@ void open_mkdir_error (void)
/*
* O_CREAT is not set and the named file does not exist
* or O_CREAT is set and either the path prefix does not exist or
- * the path argument points to an empty string.
+ * the path argument points to an empty string.
*/
sprintf (name, "%s/%s", name03, name02);
@@ -128,7 +128,7 @@ void rename_error (void)
/*
- * Create a new directory and a new directory in it
+ * Create a new directory and a new directory in it
*/
status = mkdir (name01, mode);
@@ -147,12 +147,12 @@ void rename_error (void)
rtems_test_assert (status != 0);
rtems_test_assert (errno == EEXIST || errno == ENOTEMPTY);
/*
- * The new directory pathname contains a path prefix
+ * The new directory pathname contains a path prefix
* that names the old directory.
*/
EXPECT_ERROR (EINVAL, rename, name01, name);
/*
- * The new argument points to a directory and
+ * The new argument points to a directory and
* the old argument points to a file that is not a directory.
*/
fd = creat (name03, mode);
@@ -206,7 +206,7 @@ void truncate_error (void)
status = chdir (wd);
rtems_test_assert (status == 0);
/*
- * Create a file
+ * Create a file
*/
fd = creat (file, mode);
status = close (fd);
@@ -256,7 +256,8 @@ void rmdir_unlink_error (void)
/*
* The path argument names a directory that is not an empty directory,
- * or there are hard links to the directory other than dot or a single entry in dot-dot.
+ * or there are hard links to the directory other than
+ * dot or a single entry in dot-dot.
*/
EXPECT_ERROR (ENOTEMPTY, rmdir, "..");
@@ -272,8 +273,9 @@ void rmdir_unlink_error (void)
EXPECT_ERROR (EINVAL, rmdir, "tmp/.");
/*
- * A component of path does not name an existing file,
- * or the path argument names a nonexistent directory or points to an empty string
+ * A component of path does not name an existing file,
+ * or the path argument names a nonexistent directory or
+ * points to an empty string
*/
EXPECT_ERROR (ENOENT, rmdir, "");
EXPECT_ERROR (ENOENT, rmdir, nonexistence);
@@ -338,7 +340,7 @@ void rdwr_error (void)
EXPECT_ERROR (EBADF, write, 100, readbuf, 10);
/*
- * The whence argument is not a proper value,
+ * The whence argument is not a proper value,
* or the resulting file offset would be negative for a regular file,
* block special file, or directory.
*/