source: rtems/testsuites/fstests/imfs_support/fs_support.c @ bc75887

4.11
Last change on this file since bc75887 was bc75887, checked in by Sebastian Huber <sebastian.huber@…>, on Mar 16, 2014 at 3:15:33 PM

tests/fstests: Use <rtems/test.h>

  • Property mode set to 100644
File size: 1.0 KB
Line 
1/*
2 *  COPYRIGHT (c) 1989-2011.
3 *  On-Line Applications Research Corporation (OAR).
4 *
5 *  The license and distribution terms for this file may be
6 *  found in the file LICENSE in this distribution or at
7 *  http://www.rtems.com/license/LICENSE.
8 */
9#ifdef HAVE_CONFIG_H
10#include "config.h"
11#endif
12#include "pmacros.h"
13
14#include <sys/stat.h>
15
16#include "fstest.h"
17#include "fstest_support.h"
18
19void
20test_initialize_filesystem (void)
21{
22  int rc = 0;
23  rc = mkdir (BASE_FOR_TEST,S_IRWXU|S_IRWXG|S_IRWXO);
24  rtems_test_assert (rc == 0);
25}
26
27void
28test_shutdown_filesystem (void)
29{
30}
31
32/* configuration information */
33#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
34#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
35
36#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
37
38#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
39
40#define CONFIGURE_MAXIMUM_TASKS                  10
41#define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM
42#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 40
43#define CONFIGURE_INIT_TASK_STACK_SIZE (16 * 1024)
44
45#define CONFIGURE_INIT
46#include <rtems/confdefs.h>
Note: See TracBrowser for help on using the repository browser.