Commit Graph
2734 Commits
Author SHA1 Message Date
WeiY 7e02305018 tests: atomic support for RTEMS. SMP tests for atomic operations. 2013-02-07 17:02:12 -05:00
WeiY fb9fa1537a tests: atomic support for RTEMS. Uniprocessor tests for atomic ops. 2013-02-07 17:02:12 -05:00
WeiY 9d23df2fbc score: atomic support for RTEMS automake and autoconf changes 2013-02-07 17:02:12 -05:00
Sebastian Huber 80e37434ac fstests/fsrdwr: Free allocated memory 2013-01-30 17:21:26 +01:00
Sebastian Huber 2e0177d8d8 fstests: Check resources used by FAT file system 2013-01-30 17:08:05 +01:00
Sebastian Huber 065441d80f fstests: Use global environment and clean up
This releases all resources acquired by the chroot().
2013-01-30 17:08:05 +01:00
Sebastian Huber 334222f042 fstests: Initialize swapout task 2013-01-30 17:08:05 +01:00
Sebastian Huber 399afaf5ba fstests: Perform a quick format 2013-01-30 17:08:05 +01:00
Sebastian Huber 524cdbbccd fstests: Use designated initializers 2013-01-30 17:08:04 +01:00
Sebastian Huber b63c8f9b50 ftpfs: Fix SIZE command handling
It is invalid to issue a SIZE command once a data transfer is
in progress.  For reads we issue the SIZE command before the RETR
command and get a snapshot of the file size.  For writes the file size
is initialized to zero and incremented for each write chunk.
2013-01-28 16:46:02 +01:00
Sebastian Huber 33bd2efbb2 testsuites: Fix prototypes 2013-01-27 13:50:23 +01:00
Sebastian Huber 565d8daad5 testsuites: Use rtems_fatal_source_description() 2013-01-27 13:47:17 +01:00
Alex Ivanov 99d11970b6 fstests: Generating .scn (Screen Shots) #4 2013-01-15 13:46:56 -06:00
Alex Ivanov 79060eb608 psxtmtests: Generating .scn (Screen Shots) #8 2013-01-15 10:03:55 -06:00
Christopher Kerl 408a16edb5 Create POSIX Timing Test psxtmthread02
Minor modifications were made to the student version to
clearify methods and to clean up test output.
2013-01-14 10:12:14 -06:00
Alex Ivanov e214280bd7 Generating .scn (Screen Shots) #7 2013-01-14 09:53:36 -06:00
Christopher Kerl 72f3b05165 Create POSIX Timing Test psxtmcond09
Modifications were made to this submission allow the same init.c
file to be ran by three tests that were very similar using posix
pthread_cond_timedwait and pthread_cond_wait.
2013-01-11 14:33:37 -06:00
Christopher Kerl bcefae2ea3 Create POSIX Timing Test psxtmcond03 2013-01-11 14:15:51 -06:00
Jennifer Averett 86d06a6132 Added more condition variable timing tests. 2013-01-11 14:15:51 -06:00
Christopher Kerl 7f97cb3e21 Create POSIX Timing Test psxtmcond05 2013-01-09 13:27:57 -06:00
Christopher Kerl 55ea2220e3 Create POSIX Timing Test psxtmcond02 2013-01-09 12:53:28 -06:00
Christopher Kerl cc2857a2fe GCI: Create POSIX Timing Test psxtmcond01 2013-01-09 09:24:13 -06:00
Sebastian Huber f2f39b62a2 sapi: Add rtems_fatal_source_description() 2013-01-07 16:08:19 +01:00
Sebastian Huber 57f125d025 rtems: Critical fix for events
Commit 4b45c1393c marked a test in
_Event_Timeout() as debug only.  This test is required also in non-debug
configurations since otherwise state corruption can happen.  A revised
test sptests/spintrcritical10 checks the relevant sequences.
2013-01-07 15:13:24 +01:00
Cynthia Rempel 3169affa16 tmoverhd.doc
Hi,
Adding test documentation...
2013-01-06 08:26:21 -05:00
Christopher Kerl 3106d7cdd0 IMFS: Generating .scn (Screen Shots) #2 2013-01-02 11:37:07 -06:00
Sebastian Huber 355ca1ad9d sptests/spintrcritical16: Fix NULL pointer access 2013-01-02 16:31:55 +01:00
Sebastian Huber fe62f3aa57 libtests/rbheap01: Add test cases 2012-12-22 17:42:11 +01:00
Sebastian Huber 11c10b8ba1 sptests/speventsystem01: Add test cases 2012-12-22 16:48:45 +01:00
Sebastian Huber aaee3a9179 libtests/malloctest: Add test case 2012-12-22 16:41:08 +01:00
Sebastian Huber d8efe3dc71 libtests/malloctest: Add test case 2012-12-22 16:28:26 +01:00
Sebastian Huber 72c686167d libblock: Use rtems_blkdev_create_partition()
Use rtems_blkdev_create_partition() instead of rtems_disk_create_log()
to avoid problems with the huge IMFS_GENERIC_DEVICE_MAJOR_NUMBER.
2012-12-21 15:45:55 +01:00
Sebastian Huber 3b91605e84 IMFS: Fix resource leak in IMFS_allocate_node() 2012-12-21 15:45:55 +01:00
Sebastian Huber c5d27600f9 libcsupport: Add rtems_resource_snapshot_take()
Add rtems_resource_rtems_api, rtems_resource_posix_api,
rtems_resource_snapshot, rtems_resource_snapshot_equal(), and
rtems_resource_snapshot_check().
2012-12-21 15:45:51 +01:00
Sebastian Huber fe1dc221b6 score: Add _Objects_Active_count() 2012-12-21 15:40:27 +01:00
Sebastian Huber cbd07e4ce0 score: Add rtems_chain_node_count_unprotected() 2012-12-21 15:40:27 +01:00
Sebastian Huber c40f36b08b libtests/md501: Use test cases of RFC 2202 2012-12-16 21:38:27 +01:00
Sebastian Huber f95d74a4ad libtests/md501: New test 2012-12-16 17:33:57 +01:00
Sebastian Huber 4b8e01f7c5 dosfs: Add sync_device option for msdos_format() 2012-12-13 11:38:53 +01:00
Ralf Kirchner 465b086534 dosfs: Bugfix for disks of for example 100MB size 2012-12-13 11:38:52 +01:00
Sebastian Huber b0da579608 termios: Implement tcflush()
New IO control RTEMS_IO_TCFLUSH.
2012-12-13 11:36:37 +01:00
Sebastian Huber ad13ebe071 termios: Fix tcflow() error status 2012-12-13 11:36:37 +01:00
Sebastian Huber 48bff53b3d score: rtems_initialize_start_multitasking()
Do not return from rtems_initialize_start_multitasking() and call
rtems_fatal() instead with a fatal source of RTEMS_FATAL_SOURCE_EXIT and
a fatal code with the exit status.

Remove all bsp_cleanup() functions.  The boot_card() is now a no return
function.
2012-12-07 09:38:41 +01:00
Sebastian Huber f9340ed7f4 posix: Add and use <rtems/posix/psignalimpl.h>
This file contains the parts of <rtems/posix/psignal.h> that are only
necessary for the POSIX API implementation.
2012-12-05 18:07:05 +01:00
Ralf Kirchner 42a22f0824 dosfs: Cluster write optimization
Separate cluster write from sector write for quick file write.

New test fstests/fsdosfswrite01.
2012-12-05 15:26:48 +01:00
Ralf Kirchner a20fbe78ec dosfs: Block size optimization
Change block size of bdbuf to the cluster size if the data clusters are
aligned on a cluster boundary.  This enables fast access to data
clusters.
2012-12-05 15:26:48 +01:00
Ralf Kirchner 5877a10fe2 fstests/fsdosfsformat01: New test 2012-12-05 15:26:47 +01:00
Ralf Kirchner a0bc1dcbe8 dosfs: Delete fattype parameter for msdos_format()
Delete fattype parameter of msdos_format_request_param_t because the FAT
type is determined by cluster and disk size.

Estimate FAT type and re-evaluate FAT type after exact parameter
determination.
2012-12-05 15:26:47 +01:00
Ralf Kirchner 5b8d935ab3 dosfs: Add skip_alignment for msdos_format()
Add skip_alignment parameter of msdos_format_request_param_t.  Delete
cluster_align parameter of msdos_format_request_param_t.

By default the FAT, data cluster, and root directory for FAT12 and FAT16
is aligned on a cluster boundary to optimize performance.

Format changes throughout.
2012-12-05 15:26:47 +01:00
Ralf Kirchner 7fab7fc0cf libblock: Add sparse disk 2012-12-05 15:26:47 +01:00