source:
rtems/testsuites/fstests/imfs_support/fs_support.c
@
bc75887
Last change on this file since bc75887 was bc75887, checked in by Sebastian Huber <sebastian.huber@…>, on 03/16/14 at 15:15:33 | |
---|---|
|
|
File size: 1.0 KB |
Rev | Line | |
---|---|---|
[a2f875f] | 1 | /* |
[858e013f] | 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. | |
[a2f875f] | 8 | */ |
[7336d4af] | 9 | #ifdef HAVE_CONFIG_H |
10 | #include "config.h" | |
11 | #endif | |
12 | #include "pmacros.h" | |
13 | ||
[858e013f] | 14 | #include <sys/stat.h> |
15 | ||
16 | #include "fstest.h" | |
[28860ec0] | 17 | #include "fstest_support.h" |
[7336d4af] | 18 | |
[858e013f] | 19 | void |
20 | test_initialize_filesystem (void) | |
[a2f875f] | 21 | { |
[858e013f] | 22 | int rc = 0; |
23 | rc = mkdir (BASE_FOR_TEST,S_IRWXU|S_IRWXG|S_IRWXO); | |
24 | rtems_test_assert (rc == 0); | |
[a2f875f] | 25 | } |
26 | ||
[858e013f] | 27 | void |
28 | test_shutdown_filesystem (void) | |
[a2f875f] | 29 | { |
30 | } | |
[858e013f] | 31 | |
[7336d4af] | 32 | /* configuration information */ |
33 | #define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER | |
34 | #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER | |
35 | ||
[bc75887] | 36 | #define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION |
37 | ||
[7336d4af] | 38 | #define CONFIGURE_RTEMS_INIT_TASKS_TABLE |
39 | ||
[858e013f] | 40 | #define CONFIGURE_MAXIMUM_TASKS 10 |
[7336d4af] | 41 | #define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM |
42 | #define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 40 | |
[23c6f93a] | 43 | #define CONFIGURE_INIT_TASK_STACK_SIZE (16 * 1024) |
[7336d4af] | 44 | |
45 | #define CONFIGURE_INIT | |
46 | #include <rtems/confdefs.h> |
Note: See TracBrowser
for help on using the repository browser.