summaryrefslogtreecommitdiffstats
path: root/testsuites (follow)
Commit message (Collapse)AuthorAgeFilesLines
* libmisc/shell: Fix the handling of joel scripts in telnetChris Johns2020-02-191-3/+120
| | | | | | | | | | | | - Fix the passing of std[in/out] to child threads - Fix deleting of managed memory in the key destructor - Only set the key in the main loop thread - Only allocate a shell env outside of the main loop - Fix memory leak if the task start fails - Remove error level from shell env, it cannot be returned this way. Add exit_code but the API is broken so it cannot be returned. Closes #3877
* libcsupport/newlib: Call newlib's __sinit to force reent initialisationChris Johns2020-02-191-0/+8
| | | | | | - Newlib overtites any FILE pointers set in stdin, stdout or stderr. Closes #3870
* sptests/sp36: Remove obsolete test programSebastian Huber2018-06-195-232/+0
| | | | | | It tests the (never really working) strict order mutex option. Update #3406.
* libtest/dl01: Add dlerror tests.4.11.3Chris Johns2018-02-081-0/+31
| | | | Update #2747
* Update dlerror usagePatrick Gauvin2018-02-082-5/+13
| | | | | | Handles possible NULL return value Updates #2747
* testsuites/libtest: Set EXENT to .exe so executable are correctly named.Chris Johns2018-02-081-3/+2
| | | | | | The configure order effects how it works. Close #3297
* dosfs: Allow creating a file with similar name.Christian Mauderer2017-12-071-0/+25
| | | | | | | | If there is already a file with a long file name it isn't possible to create a second file which has a name that ends on the first files name (for example ets.beam and sets.beam). This patch fixes that. Close #3258.
* dosfs: Fix files with same name as volume name.Christian Mauderer2017-12-051-1/+44
| | | | | | | Take care that a file in the root directory with the same name as the volume name can be found. Close #3257.
* testsuite/dl: Add C++ by default for DL tests which use C++.Chris Johns2017-08-235-32/+21
| | | | | | | - Add AM C++ support to the testsuite configure.ac script. - Fix the dependences in the DL tests. Closes #3024.
* libdl: Back port C++ exception throw and catch from 4.12.Chris Johns2017-04-0428-16/+3515
| | | | Closes #2956.
* dosfs: Fix file name searchSebastian Huber2017-03-211-1/+10
| | | | | | | Do not use our long file name entry count to optimize the file name search. The Unicode comparison must be taken into account. Close #2939.
* dosfs: Fix fat_file_write()Sebastian Huber2017-03-217-6/+172
| | | | | | | | Remove forced overwrite which leads to file data corruption. The logic to determine a forced overwrite was fundamentally broken. For simplity, disable this feature. Close #2622.
* dosfs: Fix msdos_utf8_normalize_and_fold()Sebastian Huber2017-03-211-3/+20
| | | | | | | | It is all right in case the result uses the full destination buffer. Without this fix the handling of a maximum 8.3 short file name is broken. Close #2928.
* libio: Fix deadlock in location managementSebastian Huber2017-03-211-2/+2
| | | | | | | | Perform a context-dependent deferred location release to avoid a deadlock on the file system instance locks, for example during a chdir(). Close #2936.
* dosfs: Fix msdos_find_file_in_directory()Sebastian Huber2017-02-141-0/+22
| | | | | | For a filename match the entry must match without anything remaining. Update #2908.
* Change version to 4.11.1.99Sebastian Huber2017-01-261-1/+1
| | | | Update #2886.
* sptests/spclock_err02: Update screen fileSebastian Huber2016-11-021-18/+22
|
* posix: Fix pthread_spin_unlock() error statusSebastian Huber2016-05-252-5/+11
| | | | Update #2719.
* posix: Fix return states of pthread_kill()Sebastian Huber2016-05-171-6/+2
| | | | | | POSIX mandates that an error code is returned and not -1 plus errno. Update #2715.
* posix: Fix return status of pthread_cancel()Sebastian Huber2016-05-171-2/+2
| | | | | | | POSIX recommends ESRCH in case no thread exists for the specified identifier. Update #2713.
* smptests/README: Delete obsolete informationSebastian Huber2016-01-111-5/+0
|
* score: Fix watchdog insertSebastian Huber2016-01-051-4/+44
| | | | | | | | | Under certain conditions a new watchdog was inserted with a wrong and very large delta interval due to a wrong iterator update. Bug was introduced by 1ccbd052910ed16131c74b0d5595c8a94066942d. Close #2507.
* score: Fix watchdog removalSebastian Huber2015-12-211-5/+57
| | | | | | | | | Under certain conditions a new watchdog was inserted with a wrong and very large delta interval due to an incomplete iterator update. Bug was introduced by 1ccbd052910ed16131c74b0d5595c8a94066942d. Close #2501.
* CONFIGURE_IMFS_MEMFILE_BYTES_PER_BLOCK was undocumented and not error checkedJoel Sherrill2015-10-271-2/+2
| | | | closes #2431.
* Fail gracefully if pax is not foundBen Gras2015-10-231-1/+5
| | | | | The $(PAX) variable is used unconditionally so it shouldn't be left empty if not found at configure time. Fixes #2437.
* rbheap: Fix rtems_rbheap_free()Sebastian Huber2015-09-111-0/+5
| | | | | | | Remove unused descriptor of merged free chunks from the free chain and add them to the spare descriptors. Update #2417.
* libtests/rbheap01: SimplifySebastian Huber2015-09-111-172/+95
| | | | Update #2417.
* rbtree: Delete rtems_rbtree_find_control()Sebastian Huber2015-09-011-7/+0
| | | | | This function is hard to support in alternative implementations. It has no internal use case.
* i2c: Fix return status of i2c dev read/writeSebastian Huber2015-07-231-2/+21
|
* score: TypoSebastian Huber2015-07-131-1/+1
|
* score: Accept NULL pointer in _Freechain_Put()Sebastian Huber2015-07-011-0/+2
| | | | With this a _Freechain_Put( _Freechain_Get() ) works always.
* score: Freechain handler API changesSebastian Huber2015-07-012-152/+19
| | | | | Replace the extend function with an allocator since this fits better to the current use case.
* score: Hide SMP lock profiling impl if disabledSebastian Huber2015-06-261-2/+2
| | | | The problem is that empty structures have a different size in C and C++.
* libmisc: Simplify <rtems/stackchk.h>Sebastian Huber2015-06-261-0/+1
| | | | | Drop the <rtems/score/percpu.h> include since this file exposes a lot of implementation details.
* rtems: Add rtems_interrupt_local_disable|enable()Sebastian Huber2015-06-226-81/+101
| | | | | | | | Add rtems_interrupt_local_disable|enable() as suggested by Pavel Pisa to emphasize that interrupts are only disabled on the current processor. Do not define the rtems_interrupt_disable|enable|flash() macros and functions on SMP configurations since they don't ensure system wide mutual exclusion.
* tmtests/tm27: Use scheduler lockSebastian Huber2015-06-191-10/+5
|
* sptests/sp37: Fix type and simplifySebastian Huber2015-06-191-15/+7
|
* Remove use ticks for statistics configure option.Joel Sherrill2015-06-151-42/+22
| | | | | | | | | | This was obsolete and broken based upon recent time keeping changes. Thie build option was previously enabled by adding USE_TICKS_FOR_STATISTICS=1 to the configure command line. This propagated into the code as preprocessor conditionals using the __RTEMS_USE_TICKS_FOR_STATISTICS__ conditional.
* score: Add _Watchdog_Preinitialize()Sebastian Huber2015-06-131-4/+4
| | | | | | Add an assert to ensure that the watchdog is the proper state for a _Watchdog_Initialize(). This helps to detect invalid initializations which may lead to a corrupt watchdog chain.
* sptests/sptasknopreempt01: New testSebastian Huber2015-06-126-0/+130
| | | | Update #2365.
* sptests/sptimecounter03: New testSebastian Huber2015-06-096-0/+144
|
* sptests/spcontext01: Add second volatile clobberSebastian Huber2015-06-091-1/+10
| | | | | Do a volatile clobber in the context switch extension to cover the path through _Thread_Do_dispatch() invoked after interrupt processing.
* sptests/spcontext01: Improve outputSebastian Huber2015-06-032-10/+20
|
* smptests/smpscheduler02: Reduce required CPU countSebastian Huber2015-06-031-41/+50
|
* smptests/smpmrsp01: Reduce required CPU countSebastian Huber2015-06-031-8/+13
|
* smptests/smpscheduler03: Use proper lockSebastian Huber2015-06-031-9/+9
|
* tmtests/tm26: Fix context switch to FP taskSebastian Huber2015-05-291-3/+0
| | | | | | | It is wrong to restore the floating point context here. The _Context_Switch() ends up in _Thread_Handler() which will call _Thread_Restore_fp(). In _Thread_Do_dispatch() the FP restore is after the context switch.
* Revert "tmtests/tm26: Avoid NULL pointer access"Sebastian Huber2015-05-291-0/+3
| | | | | | | There is no NULL pointer access. Please note that _Thread_Get_executing() != executing variable in Low_task(). This reverts commit 5611839a7e2e371dd1f327c336c785095f634e55.
* tmtests/tm26: Avoid NULL pointer accessSebastian Huber2015-05-291-3/+0
|
* libtests/i2c01: Avoid stack overflowSebastian Huber2015-05-271-0/+2
|