fstests: Use printk() for IMFS configuration tests

This avoids problems with console drivers that require a more complete
IMFS.
This commit is contained in:
Sebastian Huber
2016-09-16 14:54:12 +02:00
parent 29770e122e
commit caf4064680
2 changed files with 4 additions and 4 deletions

View File

@@ -16,6 +16,7 @@
#include "config.h"
#endif
#define TESTS_USE_PRINTK
#include "tmacros.h"
#include <sys/stat.h>
@@ -143,7 +144,6 @@ static void Init(rtems_task_argument arg)
}
#define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 4

View File

@@ -16,6 +16,7 @@
#include "config.h"
#endif
#define TESTS_USE_PRINTK
#include "tmacros.h"
#include <sys/stat.h>
@@ -79,7 +80,7 @@ static void Init(rtems_task_argument arg)
rtems_test_assert(rv == 0);
fd = creat(file, S_IRWXU);
rtems_test_assert(fd == 3);
rtems_test_assert(fd == 0);
rv = close(fd);
rtems_test_assert(rv == 0);
@@ -126,9 +127,8 @@ static void Init(rtems_task_argument arg)
}
#define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 4
#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 1
#define CONFIGURE_FILESYSTEM_IMFS