summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill2012-05-11195-541/+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.
* Revert: Remove CVS IdsJoel Sherrill2012-05-0756-0/+261
| | | | | See http://www.rtems.org/pipermail/rtems-devel/2012-May/001006.html for details.
* Remove CVS-Ids.Ralf Corsépius2012-05-0456-261/+0
|
* rbheap: API changes and documentationSebastian Huber2012-04-181-38/+51
|
* rbheap: New filesSebastian Huber2012-04-116-0/+605
| | | | | | | In the Red-Black Tree Heap the administration data structures are not contained in the managed memory area. This can be used for example in a task stack allocator which protects the task stacks from access by other tasks.
* networking: socket to/from file descriptorSebastian Huber2012-04-036-0/+149
| | | | | | | | | | o Move rtems_bsdnet_fdToSocket() and rtems_bsdnet_makeFdForSocket() to "cpukit/libnetworking/rtems/rtems_syscall.c". o The rtems_bsdnet_makeFdForSocket() function is now static. o Check in rtems_bsdnet_fdToSocket() function that the file descriptor uses the socket handlers, otherwise an error status will be returned and errno set to ENOTSOCK. o New test libtests/syscall01.
* libtests/block06: Increase stack sizeSebastian Huber2012-03-261-0/+2
|
* PR2040: libtests/flashdisk01: New testSebastian Huber2012-03-148-0/+1534
|
* libblock: Add generic IMFS block device nodesSebastian Huber2012-03-136-1/+443
| | | | | | | | New functions o rtems_blkdev_create(), and o rtems_blkdev_create_partition(). New test libtests/block11.
* libblock: Change bdbuf APISebastian Huber2012-03-1324-173/+209
| | | | | | | | | | | | | | | | | | | | 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.
* libblock: New block IO control support functionsSebastian Huber2012-03-131-6/+74
|
* Filesystem: Reference counting for locationsSebastian Huber2012-03-133-82/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o A new data structure rtems_filesystem_global_location_t was introduced to be used for o the mount point location in the mount table entry, o the file system root location in the mount table entry, o the root directory location in the user environment, and o the current directory location in the user environment. During the path evaluation global start locations are obtained to ensure that the current file system instance will be not unmounted in the meantime. o The user environment uses now reference counting and is protected from concurrent access. o The path evaluation process was completely rewritten and simplified. The IMFS, RFS, NFS, and DOSFS use now a generic path evaluation method. Recursive calls in the path evaluation have been replaced with iteration to avoid stack overflows. Only the evaluation of symbolic links is recursive. No dynamic memory allocations and intermediate buffers are used in the high level path evaluation. No global locks are held during the file system instance specific path evaluation process. o Recursive symbolic link evaluation is now limited by RTEMS_FILESYSTEM_SYMLOOP_MAX. Applications can retrieve this value via sysconf(). o The device file system (devFS) uses now no global variables and allocation from the workspace. Node names are allocated from the heap. o The upper layer lseek() performs now some parameter checks. o The upper layer ftruncate() performs now some parameter checks. o unmask() is now restricted to the RWX flags and protected from concurrent access. o The fchmod_h and rmnod_h file system node handlers are now a file system operation. o The unlink_h operation has been removed. All nodes are now destroyed with the rmnod_h operation. o New lock_h, unlock_h, clonenod_h, and are_nodes_equal_h file system operations. o The path evaluation and file system operations are now protected by per file system instance lock and unlock operations. o Fix and test file descriptor duplicate in fcntl(). o New test fstests/fsnofs01.
* Remove all .cvsignore files.Joel Sherrill2012-02-0155-122/+0
|
* 2011-12-14 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-12-142-57/+63
| | | | | * termios01/init.c: Update due to API changes. Fixed integer types. Make functions static. Added const qualifier.
* 2011-12-13 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-12-138-48/+58
| | | | | | * math/init.c, mathf/init.c, mathl/init.c: Move configuration section. * math/domath.c, mathf/domathf.c, mathl/domathl.c: Regenerate. * math/domath.in: Generate domath* prototype.
* 2011-12-13 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-12-135-18/+25
| | | | | | * complex/init.c: Move configuration section. * complex/docomplex.c, complex/docomplexf.c, complex/docomplexl.c: Regenerate.
* 2011-12-13 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-12-132-1/+7
| | | | * complex/docomplex.in: Generate prototype docomplex* prototype.
* 2011-12-09 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-12-092-1/+6
| | | | | * ftp01/Makefile.am: Re-add ftpd01_LDADD (Fix breakage introduced by previous patch).
* 2011-12-08 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-12-0850-115/+71
| | | | | | | | | | | | | | | | | | | | | | PR 1589/build * block01/Makefile.am, block02/Makefile.am, block03/Makefile.am, block04/Makefile.am, block05/Makefile.am, block06/Makefile.am, block07/Makefile.am, block08/Makefile.am, block09/Makefile.am, block10/Makefile.am, bspcmdline01/Makefile.am, cpuuse/Makefile.am, devfs01/Makefile.am, devfs02/Makefile.am, devfs03/Makefile.am, devfs04/Makefile.am, deviceio01/Makefile.am, devnullfatal01/Makefile.am, dumpbuf01/Makefile.am, ftp01/Makefile.am, gxx01/Makefile.am, heapwalk/Makefile.am, malloc02/Makefile.am, malloc03/Makefile.am, malloc04/Makefile.am, malloc05/Makefile.am, malloctest/Makefile.am, monitor/Makefile.am, monitor02/Makefile.am, mouse01/Makefile.am, putenvtest/Makefile.am, rtems++/Makefile.am, rtmonuse/Makefile.am, stackchk/Makefile.am, stackchk01/Makefile.am, stringto01/Makefile.am, tar01/Makefile.am, tar02/Makefile.am, tar03/Makefile.am, termios/Makefile.am, termios01/Makefile.am, termios02/Makefile.am, termios03/Makefile.am, termios04/Makefile.am, termios05/Makefile.am, termios06/Makefile.am, termios07/Makefile.am, termios08/Makefile.am, tztest/Makefile.am: Remove obsolete optional manager capability.
* 2011-12-05 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-12-052-6/+4
| | | | * monitor02/init.c: Remove re-declaration of rtems_shell_main_monitor.
* 2011-10-26 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-10-262-1/+13
| | | | * mouse01/init.c: Account for extra message buffer size.
* 2011-10-26 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-10-262-2/+12
| | | | * ftp01/init.c: Account for extra FTP worker task stack sizes.
* 2011-10-22 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-10-222-1/+6
| | | | * malloc04/init.c: Define p1, p2, p3, p4 extern (Avoid warnings).
* 2011-09-29 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-09-294-0/+17
| | | | | * mouse01/init.c, mouse01/msmouse.c, mouse01/serial_mouse_config.c: Add HAVE_CONFIG_H.
* 2011-09-16 Sebastian Huber <Sebastian.Huber@embedded-brains.de>Sebastian Huber2011-09-165-52/+141
| | | | | * monitor/monitor.scn, termios/termios.scn: New files. * monitor/init.c, termios01/init.c: Use rtems_shell_wait_for_input().
* 2011-09-02 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-09-024-0/+27
| | | | | * stackchk/init.c, stackchk/system.h, stackchk/stackchk.scn: Print end of test message.
* 2011-07-29 Pawel Zagorski <pzagor@agh.edu.pl>Joel Sherrill2011-07-296-3/+38
| | | | | | | PR 1865/tests * stringto01/Makefile.am, stringto01/init.c, stringto01/stringto01.doc, stringto01/stringto01.scn, stringto01/stringto_test_template.h: Improve coverage of string conversion routines.
* 2011-07-29 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-07-295-0/+91
| | | | | * POSIX/iconv.c, POSIX/iconv_open.c, POSIX/iconv_close.c: New. * POSIX/Makefile.am: Add iconv, iconv_open, iconv_close.
* 2011-07-12 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-07-123-41/+5
| | | | | * malloc04/init.c, malloc04/malloc04.scn: Remove test cases which are obsolete.
* 2011-06-20 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-06-2012-0/+21
| | | | | | | | | * devfs04/Makefile.am, deviceio01/Makefile.am, monitor02/Makefile.am, stackchk01/Makefile.am, stringto01/Makefile.am, tar01/Makefile.am, tar02/Makefile.am, termios01/Makefile.am, termios03/Makefile.am, termios04/Makefile.am tztest/Makefile.am: Add missing files.
* 2011-05-20 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-05-202-1/+4
| | | | * mouse01/serial_mouse_config.c: Avoid output due to execution context.
* 2011-05-20 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-05-202-1/+5
| | | | * termios08/init.c: Fixed parameter to avoid test failure.
* 2011-05-20 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-05-205-0/+21
| | | | | * rtems++/Init.cc, rtems++/Task1.cc, rtems++/Task2.cc, rtems++/Task3.cc: Added HAVE_CONFIG_H.
* 2011-05-06 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-05-062-4/+8
| | | | * malloc04/init.c: Fix tests broken in warning pass.
* 2011-05-06 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-05-068-0/+332
| | | | | | * ftp01/.cvsignore, ftp01/Makefile.am, ftp01/ftp01.doc, ftp01/ftp01.scn, ftp01/init.c: New files. * Makefile.am, configure.ac: Reflect changes above.
* 2011-05-05 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-05-057-8/+36
| | | | | | * devnullfatal01/testcase.h, malloc02/init.c, malloc04/init.c, malloctest/init.c, termios03/termios_testdriver_polled.c, termios04/termios_testdriver_intr.c: Remove warnings.
* 2011-04-05 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-04-052-10/+15
| | | | * tar01/init.c: Fixed integer types.
* 2011-03-14 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-03-1410-1/+306
| | | | | | | | * Makefile.am, configure.ac: Add test for Mouse Parser Engine (Microsoft Mouse paths) and Serial Mouse Driver. * mouse01/.cvsignore, mouse01/Makefile.am, mouse01/init.c, mouse01/mouse01.doc, mouse01/mouse01.scn, mouse01/msmouse.c, mouse01/serial_mouse_config.c: New files.
* 2011-03-10 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-03-103-5/+15
| | | | | * heapwalk/init.c: Improve coverage. * heapwalk/heapwalk.scn: Update.
* 2011-03-09 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-03-093-0/+8
| | | | | * devfs04/devfs04.scn, devfs04/init.c: Increase configuration so this passes on sis.
* 2011-03-09 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-03-093-9/+29
| | | | | * malloctest/init.c: Improve coverage. * malloctest/malloctest.scn: Update.
* Add config.h.inRalf Corsepius2011-03-011-0/+1
|
* 2011-02-22 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-222-0/+5
| | | | * configure.ac: Add AC_CONFIG_HEADER(config.h).
* Add HAVE_CONFIG_H.Ralf Corsepius2011-02-22130-0/+520
|
* 2010-02-22 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-221-0/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * POSIX/calloc.c, POSIX/clock_gettime.c, POSIX/close.c, POSIX/dup2.c, POSIX/fcntl.c, POSIX/flockfile.c, POSIX/fork.c, POSIX/free.c, POSIX/fstat.c, POSIX/ftrylockfile.c, POSIX/funlockfile.c, POSIX/getdents.c, POSIX/getlogin.c, POSIX/getpwnam.c, POSIX/getpwuid.c, POSIX/gettimeofday.c, POSIX/getuid.c, POSIX/htonl.c, POSIX/issetugid.c, POSIX/kill.c, POSIX/longjmp.c, POSIX/lseek.c, POSIX/lstat.c, POSIX/malloc.c, POSIX/nanosleep.c, POSIX/open.c, POSIX/pipe.c, POSIX/posix_memalign.c, POSIX/read.c, POSIX/readv.c, POSIX/realloc.c, POSIX/setjmp.c, POSIX/sigaddset.c, POSIX/sigdelset.c, POSIX/sigemptyset.c, POSIX/sigfillset.c, POSIX/sigismember.c, POSIX/sigprocmask.c, POSIX/stat.c, POSIX/unlink.c, POSIX/vfork.c, POSIX/wait.c, POSIX/waitpid.c, POSIX/write.c, POSIX/writev.c, block01/init.c, block02/init.c, block03/init.c, block04/init.c, block05/init.c, block06/init.c, block07/init.c, block08/bdbuf_test1_1.c, block08/bdbuf_test1_2.c, block08/bdbuf_test1_3.c, block08/bdbuf_test1_4.c, block08/bdbuf_test1_5.c, block08/bdbuf_test2_1.c, block08/bdbuf_test2_2.c, block08/bdbuf_test3_1.c, block08/bdbuf_test3_2.c, block08/bdbuf_test3_3.c, block08/bdbuf_test4_1.c, block08/bdbuf_test4_2.c, block08/bdbuf_test4_3.c, block08/bdbuf_tests.c, block08/init.c, block09/init.c, block10/init.c, bspcmdline01/init.c, complex/docomplex.c, complex/docomplex.in, complex/docomplexf.c, complex/docomplexl.c, complex/init.c, cpuuse/init.c, cpuuse/task1.c, cpuuse/task2.c, cpuuse/task3.c, cpuuse/tswitch.c, devfs01/init.c, devfs02/init.c, devfs03/init.c, devfs04/init.c, deviceio01/init.c, dumpbuf01/init.c, gxx01/init.c, heapwalk/init.c, malloc02/init.c, malloc03/init.c, malloc04/init.c, malloc05/init.c, malloctest/init.c, malloctest/task1.c, math/domath.c, math/domath.in, math/init.c, mathf/domathf.c, mathf/init.c, mathl/domathl.c, mathl/init.c, monitor/init.c, monitor02/init.c, putenvtest/init.c, rtmonuse/getall.c, rtmonuse/init.c, rtmonuse/task1.c, stackchk/blow.c, stackchk/init.c, stackchk/task1.c, stackchk01/init.c, stringto01/init.c, tar01/init.c, tar02/init.c, tar03/init.c, termios/init.c, termios01/init.c, termios01/termios_testdriver.c, termios02/init.c, termios03/init.c, termios03/termios_testdriver_polled.c, termios04/init.c, termios04/termios_testdriver_intr.c, termios05/init.c, termios05/termios_testdriver_taskdriven.c, termios06/init.c, termios06/test_pppd.c, termios07/init.c, termios08/init.c, tztest/init.c: Add HAVE_CONFIG_H.
* 2011-02-14 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2011-02-144-6/+7
| | | | * math/init.c, mathf/init.c, mathl/init.c: Now run.
* 2011-02-14 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2011-02-143-2/+7
| | | | * complex/Makefile.am, complex/init.c: Test now runs.
* 2011-02-14 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2011-02-143-4/+7
| | | | | * monitor/Makefile.am, monitor02/Makefile.am: Switch to all managers since this is all of them.
* 2010-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-112-0/+14
| | | | | * stringto01/init.c: Redefine LONG_LONG_MAX and LONG_LONG_MIN for c99.
* 2011-02-02 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2011-02-022-5/+8
| | | | * cpuuse/tswitch.c: Shrink memory requirements.