diff options
Diffstat (limited to '')
-rw-r--r-- | testsuites/psxtests/psxstat/Makefile.am | 5 | ||||
-rw-r--r-- | testsuites/psxtests/psxstat/main.c | 10 | ||||
-rw-r--r-- | testsuites/psxtests/psxstat/test.c | 6 |
3 files changed, 10 insertions, 11 deletions
diff --git a/testsuites/psxtests/psxstat/Makefile.am b/testsuites/psxtests/psxstat/Makefile.am index 9c20ed100c..19e747cdbe 100644 --- a/testsuites/psxtests/psxstat/Makefile.am +++ b/testsuites/psxtests/psxstat/Makefile.am @@ -1,8 +1,9 @@ -## +## ## $Id$ -## +## AUTOMAKE_OPTIONS = foreign 1.4 + TEST = psxstat MANAGERS = all diff --git a/testsuites/psxtests/psxstat/main.c b/testsuites/psxtests/psxstat/main.c index bced60fd25..f358a6ddb6 100644 --- a/testsuites/psxtests/psxstat/main.c +++ b/testsuites/psxtests/psxstat/main.c @@ -27,13 +27,17 @@ rtems_task Init( /* configuration information */ -#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER -#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER + +#define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM +#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 10 + +#define CONFIGURE_MAXIMUM_TASKS 1 #define CONFIGURE_RTEMS_INIT_TASKS_TABLE #define CONFIGURE_INIT_TASK_STACK_SIZE (RTEMS_MINIMUM_STACK_SIZE * 2) - #define CONFIGURE_INIT #include <confdefs.h> diff --git a/testsuites/psxtests/psxstat/test.c b/testsuites/psxtests/psxstat/test.c index 4fd49726b7..995f33adb6 100644 --- a/testsuites/psxtests/psxstat/test.c +++ b/testsuites/psxtests/psxstat/test.c @@ -239,14 +239,8 @@ void chown_multiple_files( uid_t st_uid; gid_t st_gid; -#if defined(RTEMS_POSIX_API) st_uid = geteuid(); st_gid = getegid(); -#else - st_uid = 100; -e - st_gid = 0; -#endif i = 0; while ( files[i] ) { |