summaryrefslogtreecommitdiffstats
path: root/testsuites/samples/fileio/system.h
diff options
context:
space:
mode:
authorChristian Mauderer <Christian.Mauderer@embedded-brains.de>2014-03-19 17:17:39 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-03-20 09:10:26 +0100
commit6cd4a5ca2e2211c4008d99fc272412c9b03c86ce (patch)
tree74d90861edc8f206824e462710679b69b46b2aa6 /testsuites/samples/fileio/system.h
parenttests/libtests: Use <rtems/test.h> (diff)
downloadrtems-6cd4a5ca2e2211c4008d99fc272412c9b03c86ce.tar.bz2
cpukit/shell: Replace task variables with posix keys.
Use posix keys for current shell environment instead of task variables. With this patch the shell needs one posix-key and one posix-key-value-pair configured. Update documentation for the shell. Adapt samples/fileio: - Add necessary objects. - Add login function and custom device name for better testing of the shell.
Diffstat (limited to '')
-rw-r--r--testsuites/samples/fileio/system.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuites/samples/fileio/system.h b/testsuites/samples/fileio/system.h
index 726a507b46..654f7275c2 100644
--- a/testsuites/samples/fileio/system.h
+++ b/testsuites/samples/fileio/system.h
@@ -47,6 +47,9 @@ rtems_task Init(
#define CONFIGURE_ATA_DRIVER_TASK_PRIORITY 14
#endif
+#define CONFIGURE_MAXIMUM_POSIX_KEYS 1
+#define CONFIGURE_MAXIMUM_POSIX_KEY_VALUE_PAIRS 1
+
#if FILEIO_BUILD
#define CONFIGURE_APPLICATION_NEEDS_LIBBLOCK
#define CONFIGURE_BDBUF_MAX_READ_AHEAD_BLOCKS 2