summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxndbm01 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* psxndbm01 - Fixing string truncation warningFrank Kühndel2020-10-121-8/+3
| | | | | | | | | | | | | | | | | | | This fixes the following compiler warning: testsuites/psxtests/psxndbm01/init.c:221:3: warning: 'strncpy' output truncated before terminating nul copying 5 bytes from a string of the same length 221 | strncpy( test_strings, "Hello", 5 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In addition, the comments from Sebastian Huber on an old version of such a patch have been taken into account: 1) The use of `sizeof()` in `key.dsize = sizeof( test_strings );` is wrong. 2) There is no need to allocate the string. One can simply use a string constant. (See https://lists.rtems.org/pipermail/devel/2020-August/061418.html)
* libtest: <rtems/test.h> to <rtems/test-info.h>Sebastian Huber2020-07-231-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.
* config: CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORSSebastian Huber2019-12-191-1/+1
| | | | | | | Rename CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS into CONFIGURE_MAXIMUM_FILE_DESCRIPTORS. Update #3753.
* psxtests: Add ndbm test suiteVaibhav Gupta2019-07-303-0/+364
Joel Sherrill <joel@rtems.org> modified the patch to add autoconf logic to avoid building this new test unless the tool chain include <ndbm.h>. The ensures that git bisect continues to work and that the addition of this test does not immediately force the entire community to update their tools.