summaryrefslogtreecommitdiffstats
path: root/testsuites/fstests
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2015-02-13 21:11:55 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2015-02-13 21:11:55 +0100
commit40a18d7f9a763a7d5d7fc3708741b52f7b55d0e3 (patch)
treecdfbe9f0541ac352992416213622ca6e92f0a529 /testsuites/fstests
parentIMFS: CONFIGURE_USE_MINIIMFS_AS_BASE_FILESYSTEM (diff)
downloadrtems-40a18d7f9a763a7d5d7fc3708741b52f7b55d0e3.tar.bz2
IMFS: Add CONFIGURE_IMFS_DISABLE_MKNOD_FILE
Diffstat (limited to 'testsuites/fstests')
-rw-r--r--testsuites/fstests/fsimfsconfig01/init.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/testsuites/fstests/fsimfsconfig01/init.c b/testsuites/fstests/fsimfsconfig01/init.c
index e14ca8d5d8..4132f52bb9 100644
--- a/testsuites/fstests/fsimfsconfig01/init.c
+++ b/testsuites/fstests/fsimfsconfig01/init.c
@@ -78,11 +78,10 @@ static void Init(rtems_task_argument arg)
rv = mknod(dev, S_IFCHR | S_IRWXU, 0);
rtems_test_assert(rv == 0);
+ errno = 0;
fd = creat(file, S_IRWXU);
- rtems_test_assert(fd == 3);
-
- rv = close(fd);
- rtems_test_assert(rv == 0);
+ rtems_test_assert(fd == -1);
+ rtems_test_assert(errno == ENOSYS);
errno = 0;
rv = mkfifo(fifo, S_IRWXU);
@@ -143,6 +142,7 @@ static void Init(rtems_task_argument arg)
#define CONFIGURE_IMFS_DISABLE_MKNOD
#endif
+#define CONFIGURE_IMFS_DISABLE_MKNOD_FILE
#define CONFIGURE_IMFS_DISABLE_MOUNT
#define CONFIGURE_IMFS_DISABLE_RENAME
#define CONFIGURE_IMFS_DISABLE_RMNOD