summaryrefslogtreecommitdiffstats
path: root/testsuites/samples/fileio (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-06-14samples/*/*.doc: Change license to BSD-2Joel Sherrill1-3/+22
Updates #3053.
2022-04-12testsuites/samples: Change license to BSD-2Joel Sherrill2-6/+44
Updates #3053.
2020-10-12testsuites/samples/fileio - Increase of stack sizeFrank Kühndel1-1/+1
When I use the 'shell' from the fileio sample with the command below: env QEMU_AUDIO_DRV="none" \ qemu-system-arm -no-reboot -net none -nographic -M realview-pbx-a9 \ -m 256M \ -kernel build/arm/realview_pbx_a9_qemu/testsuites/samples/fileio.exe The executable crashes with an "BLOWN STACK!!!" as soon as I try to login as 'root' with password. (The logins without password work fine.) Increasing the stack size of the affected thread a bit solves the issue. Hence, I suggest this patch. My config.ini was [arm/realview_pbx_a9_qemu] RTEMS_DEBUG = True RTEMS_NETWORKING = True RTEMS_POSIX_API = True RTEMS_SMP = True BUILD_TESTS = True RTEMS origin.master at a479686c112144119866391ceb21c48be6a3eca9 Close #4143
2020-07-23libtest: <rtems/test.h> to <rtems/test-info.h>Sebastian Huber1-1/+1
Rename this header file to later move <t.h> to <rtems/test.h>. The main feature provided by <rtems/test-info.h> is the output of standard test information which is consumed by the RTEMS Tester. Update #3199.
2020-03-31testsuites: Remove CONFIGURE_MALLOC_STATISTICSSebastian Huber1-2/+0
This configuration option is obsolete since 2014. Update #1367.
2019-12-19config: CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORSSebastian Huber1-1/+1
Rename CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS into CONFIGURE_MAXIMUM_FILE_DESCRIPTORS. Update #3753.
2018-11-06Correct minor spelling and grammar errorsZenon1-2/+2
This work was performed as a GCI 2018 task.
2018-10-05tests: Use rtems_task_exit()Sebastian Huber1-2/+1
Update #3533.
2018-08-07fileio: Avoid deprecated rtems_disk_obtain()Sebastian Huber1-22/+25
Update #3358.
2018-08-07nvdisk: Use rtems_blkdev_create()Sebastian Huber2-59/+3
Update #3358.
2018-08-07ramdisk: Use rtems_blkdev_create()Sebastian Huber1-59/+24
Update #3358.
2018-04-10testsuite/samples: Merged nested Makefile.am files into one Makefile.amChris Johns1-20/+0
This change is part of the testsuite Makefile.am reorganization. Update #3382
2017-11-07tests: Use normal console for user input testsSebastian Huber1-1/+1
2017-11-06tests: Use simple console driverSebastian Huber1-1/+1
Update #3170. Update #3199.
2017-10-28tests: Remove TEST_INITSebastian Huber1-2/+0
The TEST_EXTERN is a used only by the system.h style tests and they use CONFIGURE_INIT appropriately. Update #3170. Update #3199.
2017-10-23testsuite: Use printk for all test output where possible.Chris Johns1-0/+2
- Remove the printf support leaving the direct printk support configured with TESTS_USE_PRINTK and all other output goes via a buffered vsniprintf call to printk. - Control the test's single init for functions and global data with TEST_INIT and not CONFIGURE_INIT. They are now separate. Updates #3170.
2017-08-24samples/fileio: Give command availability hintSebastian Huber1-3/+7
Close #3088.
2014-12-16Delete CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEMSebastian Huber1-2/+0
This define was superfluous, undocumented and used inconsistently.
2014-11-21Delete or rename MIN/MAX macros and definesSebastian Huber1-4/+1
Include <sys/param.h> if necessary to get the MIN()/MAX() macros.
2014-11-20shell: Do chroot() after successful loginSebastian Huber1-1/+7
2014-11-20samples/fileio: Use unlimited objectsSebastian Huber1-8/+1
2014-11-20samples/fileio: Fix warningSebastian Huber1-0/+2
2014-11-20shell: Use crypt_r() in rtems_shell_login_check()Sebastian Huber1-4/+9
Use '*" to disable shell login instead of '!' according to the Linux man page. Use getpwnam_r() instead of getpwnam(). Do not access the user environment directly. Update the user environment only after a successful login check.
2014-05-06testsuites: Remove BSP_SMALL_MEMORYJoel Sherrill1-4/+1
2014-04-03samples/fileio: Fix configurationSebastian Huber1-1/+1
2014-03-21Change all references of rtems.com to rtems.org.Chris Johns3-3/+3
2014-03-20cpukit/shell: Replace task variables with posix keys.Christian Mauderer2-2/+6
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.
2014-03-17tests/samples: Use <rtems/test.h>Sebastian Huber2-2/+8
2012-11-13samples/fileio: Add DOSFS and RFS on demandSebastian Huber1-6/+10
2012-07-19Remove CVS-Ids.Ralf Corsépius1-2/+0
2012-07-19Remove CVS-Ids.Ralf Corsépius1-5/+0
2012-05-31samples - Eliminate missing prototype warningsJoel Sherrill1-13/+2
2012-05-11Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill1-2/+0
Script does what is expected and tries to do it as smartly as possible. + remove occurrences of two blank comment lines next to each other after Id string line removed. + remove entire comment blocks which only exited to contain CVS Ids + If the processing left a blank line at the top of a file, it was removed.
2012-03-13libblock: Change bdbuf APISebastian Huber1-34/+33
The functions o rtems_bdbuf_get(), o rtems_bdbuf_read(), o rtems_bdbuf_syncdev(), and o rtems_bdbuf_purge_dev(), use now the disk device instead of the device identifier. This makes bdbuf independent of rtems_disk_obtain() and rtems_disk_release(). It is the responsiblity of the file system to obtain the disk device. This also reduces the overhead to get a buffer. The key for the AVL tree uses now the disk device instead of the device identifier. The pointer is interpreted as an unsigned integer. This reduces the memory overhead and makes the comparison operation a bit faster. Removed function rtems_bdbuf_purge_major(). This function was too destructive and could have unpredictable side effects.
2012-02-01Remove all .cvsignore files.Joel Sherrill1-2/+0
2011-12-132011-12-13 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-9/+11
* fileio/init.c: Comment out setup_nvdisk (Unused). Make shell_nvdisk_trace, shell_nvdisk_erase, shell_bdbuf_trace, disk_test_set_block_size, disk_test_write_blocks, disk_test_block_sizes, parse_size_arg, create_ramdisk, create_nvdisk static. * nsecs/init.c: Make my_ctime, subtract_em static.
2011-12-082011-12-08 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-3/+1
PR 1589/build * base_mp/node1/Makefile.am, base_mp/node2/Makefile.am, base_sp/Makefile.am, capture/Makefile.am, cdtest/Makefile.am, fileio/Makefile.am, hello/Makefile.am, iostream/Makefile.am, loopback/Makefile.am, minimum/Makefile.am, nsecs/Makefile.am, paranoia/Makefile.am, pppd/Makefile.am, ticker/Makefile.am, unlimited/Makefile.am: Remove obsolete optional manager capability.
2011-10-182011-10-18 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-2/+2
* fileio/init.c: Explictly consts in size_t initializers (avoid overflows on 16bit-int targets).
2011-09-162011-09-16 Sebastian Huber <Sebastian.Huber@embedded-brains.de>Sebastian Huber2-13/+56
* fileio/fileio.scn: New file. * capture/init.c, fileio/init.c: Use rtems_shell_wait_for_input().
2011-07-042011-07-04 Chris Johns <chrisj@rtems.org>Chris Johns2-2/+535
* fileio/init.c, fileio/system.h: Add commands to create ram disks from the shell prompt. Helps testing.
2011-06-112011-06-11 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-6/+6
* fileio/init.c: Avoid use of deprecated rtems_clock_get() except in spclockget().
2011-05-052011-05-05 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-0/+2
* fileio/Makefile.am, ticker/Makefile.am: Missed part of previous patch.
2011-05-052011-05-05 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2-53/+5
* base_sp/apptask.c, base_sp/init.c, fileio/init.c, fileio/system.h, nsecs/init.c, ticker/init.c, ticker/system.h, ticker/tasks.c: Remove warnings.
2011-02-22Add HAVE_CONFIG_H.Ralf Corsepius1-0/+4
2010-08-162010-08-16 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-5/+0
* fileio/Makefile.am: Remove AM_CONDITIONAL(LIBCHIP). * configure.ac: Remove AM_CONDITIONAL(LIBCHIP). Force autoconf-2.67, automake-1.11.1.
2010-06-022010-06-02 Chris Johns <chrisj@rtems.org>Chris Johns1-19/+21
* fileio/init.c: Update to new mount API. * iostream/init.cc: Hack to work around confdefs.h in C++. * iostream/system.h: Add comment about base miniIMFS.
2010-03-122010-03-12 Sebastian Huber <Sebastian.Huber@embedded-brains.de>Joel Sherrill1-23/+21
* fileio/init.c: Remove deprecation warnings.
2010-03-112010-03-11 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-1/+1
* fileio/init.c: Fix warnings for ctype methods.
2009-11-30Whitespace removal.Ralf Corsepius1-5/+5
2009-10-292009-10-29 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-1/+1
* fileio/init.c: Use %zd to print ssize_t.