summaryrefslogtreecommitdiffstats
path: root/testsuites (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-04-21clock:_TOD_To_seconds(): Fix year 2514 overflowFrank Kühndel1-10/+18
This patch fixes issue #4338 by changing _TOD_Validate() to only accept years till 2105. This requires another patch to change the documentation of rtems_clock_set() and other affected API functions (indicating the end date is 2105 not 2514). I tried to support till year 2514 but it turned out that this needs changing the Timer Manager too. That in turn would mean to change _TOD_Seconds_since_epoch( void ) from 32 to 64 bit. Sebastian pointed out that a naive extension leads to trouble with 32 bit processors. He deemed a safe re-implementation too costly performance wise considering that year 2106 is far away and current binaries using RTEMS Classic API are unlikely to be in use by 2106. The constant TOD_SECONDS_AT_2100_03_01_00_00 in cpukit/rtems/src/clocktodtoseconds.c happens to be wrong by 1 hour. When setting the date 2100-Feb-28 23:59:59 and then reading the date again you will find yourself in 2100-Feb-27. Update #4338
2021-04-20Fix calloc() behaviour in case of overflowSebastian Huber1-10/+13
The multiplication to calculate the length of the memory area to allocate may overflow. Return NULL in case of an overflow. Close #4389.
2021-04-13smpfatal08: block secondary processorsJiri Gaisler1-0/+2
* On some SMP platforms, all cpus are started by the boot-loader. We need to block the secondary cpus or they will clobber the test output.
2021-04-13Revert "cpukit: Remove telnetd"Vijay Kumar Banerjee3-0/+155
This reverts commit 3299dda2454a8847c670a732f6c12ef1f2cc5dd0.
2021-04-07testsuites: Remove all legacy networking testsVijay Kumar Banerjee22-2103/+0
Update #3850
2021-04-07cpukit: Remove telnetdVijay Kumar Banerjee3-155/+0
Update #3850
2021-04-07testsuites/libtests: Remove networking01Vijay Kumar Banerjee3-196/+0
Update #3850
2021-04-07validation: Fix unused variable warningSebastian Huber1-3/+2
Fix warning: testsuites/validation/tc-signal-send.c:634:21: warning: unused variable 'sc' [-Wunused-variable]
2021-04-07libtests/block14: Fix warningSebastian Huber1-1/+1
Fix warning: testsuites/libtests/block14/init.c:198:8: warning: 'sc' may be used uninitialized in this function [-Wmaybe-uninitialized] Update #3689.
2021-03-30Restore FDT in ofw01 to avoid test timeout on RISCVJiri Gaisler1-0/+1
2021-03-27score: Fix task stack initializationSebastian Huber4-4/+17
Do not adjust the stack area begin address since this may confuse the stack allocator and result in failed stack frees. Account for the alignment overhead in the stack space size estimate. Check that the stack size is in the expected interval.
2021-03-26libblock: Add rtems_bdbuf_peek()Christian Mauderer3-36/+110
Adds a peek function that allows (for example) a file system to suggest the next blocks that should be used for read ahead. This can increase the read speed of fragmented files. Update #3689
2021-03-23validation: Use support functionsSebastian Huber6-306/+66
2021-03-23validation: Add test case support functionsSebastian Huber2-0/+274
2021-03-19validation: Reduce source code/rodata sizeSebastian Huber9-9795/+1271
Use a common wording for the tests. Use the new templates for action requirements described in the RTEMS Software Engineering manual.
2021-03-16rtems: Allow initially locked MrsP semaphoresSebastian Huber1-4/+10
Rejecting initially locked MrsP semaphores was due to a limitiation of the early limitiation of the MrsP protocol. This limitation no longer exists.
2021-03-16rtems: Require RTEMS_PRIORITY for MrsP semaphoresSebastian Huber5-17/+24
MrsP semaphores are a generalization of the priority ceiling semaphores for SMP configurations. Priority ceiling semaphores are required to use the priority task wait queue discipline. Require this discipline also for MrsP semaphores. Close #4347.
2021-03-16sp14: Fix for SMP or robust thread dispatchSebastian Huber1-0/+5
Close #4343.
2021-03-16validation: Task create/constructSebastian Huber2-0/+2
Run the task create/construct tests also on validation test suite 1 which has exactly one processor configured.
2021-03-11validation: Improve wordingSebastian Huber6-11/+13
2021-03-11Test suite for FTW.H methodsEshan dhawan6-0/+255
Signed-off-by: Eshan Dhawan <eshandhawan51@gmail.com>
2021-03-11validation: Use common wordingSebastian Huber5-1095/+1102
2021-03-08validation: Use common wordingSebastian Huber6-75/+82
2021-03-05validation: Use common wordingSebastian Huber5-8/+8
2021-03-05CONFIGURE_MAXIMUM_THREAD_LOCAL_STORAGE_SIZESebastian Huber1-6/+6
Ensure that CONFIGURE_MAXIMUM_THREAD_LOCAL_STORAGE_SIZE meets the task storage alignment requirement.
2021-03-04validation: Fix for 64-bit targetsSebastian Huber1-1/+12
Closes #4179.
2021-03-02rtems: Simplify rtems_signal_catch()Sebastian Huber1-100/+549
In uniprocessor configurations, we can simplify rtems_signal_catch(). Add a validation test for the SMP special case.
2021-03-02validation: Format comment blocksSebastian Huber9-164/+136
2021-03-01validation: Add comments to task testsSebastian Huber2-0/+231
2021-03-01validation: Add comments to message queue testsSebastian Huber1-308/+1056
Split up post-condition.
2021-03-01validation: Add comments to signal testsSebastian Huber2-0/+184
2021-03-01validation: Add comments to barrier testsSebastian Huber4-3/+207
Unify code sections across tests.
2021-03-01score: Fix _Stack_Extend_size()Sebastian Huber1-0/+3180
Check for an integer overflow. Add a validation test for task create errors.
2021-03-01validation: Improve task construct error testsSebastian Huber1-521/+1353
2021-02-26score: Fix thread initializationSebastian Huber1-850/+2101
Close the thread object if a thread create extension fails. Also call the delete extension to avoid resource leaks in early extensions if a late extension fails. Close #4270.
2021-02-26libtest: Print SHA256 hash in base64urlSebastian Huber1-1/+1
2021-02-26libtest: Report target hashSebastian Huber1-2/+6
Update #4267.
2021-02-26Add system initialization step for target hashSebastian Huber1-0/+16
Update #4267.
2021-02-25score: Add _IO_Base64url()Sebastian Huber1-0/+12
Update #4267.
2021-02-24validation: Simplify message queue construct testsSebastian Huber1-88/+52
2021-02-24validation: Add missing barrier create test caseSebastian Huber1-56/+291
2021-02-20validation: Add signal manager testsSebastian Huber2-0/+2163
Update #4244.
2021-02-20validation: Add Validation1 test suiteSebastian Huber3-5/+78
Update #4244.
2021-02-08validation: Tweak construct error testsSebastian Huber2-216/+216
Unify the state names across tests and make sure the state names have a similar length.
2021-02-08validation: Tests for barrier managerSebastian Huber4-0/+2525
2021-02-08validation: Add tests for rtems_build_name()Sebastian Huber1-0/+155
2021-02-03rtems: Rework object services APISebastian Huber1-8/+0
Add a "Constraints" paragraph to the documentation. Provide prototypes for programming language bindings. Use the macro implementation to implement the corresponding functions. Update #3993.
2021-01-25Improve file header comment in generated filesSebastian Huber5-15/+35
2021-01-23splinkersets01: Fix declarationSebastian Huber1-2/+2
GCC 11 produced warnings like this: items.c:21:1: warning: ignoring attribute 'section (".rtemsrwset.test_rw.content.0.1")' because it conflicts with previous 'section (".rtemsrwset.test_rw.content.1")' [-Wattributes] items.c:23:1: warning: ignoring attribute 'section (".rtemsroset.test_ro.content.0.OC")' because it conflicts with previous 'section (".rtemsroset.test_ro.content.1")' [-Wattributes]
2021-01-21mrsp: Change error status for a nested seizeSebastian Huber1-1/+1
Return STATUS_DEADLOCK (RTEMS_INCORRECT_STATE) to indicate a nested seize since this is a kind of deadlock. This status code is also used for other deadlocks. Update #4217.