2010-08-10 Bharath Suri <bharath.s.jois@gmail.com>

PR 1663/testing
	* spmkdir/init.c: New cases to get the error path in rtems_mkdir
	routine.
This commit is contained in:
Joel Sherrill
2010-08-10 17:34:12 +00:00
parent d9c60fdde1
commit ce656dff3a
2 changed files with 12 additions and 0 deletions

View File

@@ -64,6 +64,12 @@ static rtems_task Init(rtems_task_argument argument)
test_mkdir("a/b/c/4", S_IRWXO, 0);
test_mkdir("a/b", omode, 0);
test_mkdir("a", omode, 0);
test_mkdir("a/b/x", S_IRUSR, 0);
test_mkdir("a/b/x/y", S_IRUSR, -1);
rv = mknod("a/n", S_IRWXU | S_IFREG, 0LL);
test_mkdir("a/n/b", S_IRUSR, -1);
rv = open ("b", O_CREAT | O_RDONLY, omode);
rtems_test_assert(rv >= 0);