diff options
author | Kinsey Moore <kinsey.moore@oarcorp.com> | 2024-02-18 20:16:22 -0600 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2024-02-19 09:26:10 -0600 |
commit | 6b1222465e164a975b0591a88651eb41f3f5e872 (patch) | |
tree | 3f9a9c7e1da8b87840857a6aef61816759c3a91c /testsuites/libtests/dl11/init.c | |
parent | bsps/qspipsu: Calculate correct parallel mode size (diff) | |
download | rtems-6b1222465e164a975b0591a88651eb41f3f5e872.tar.bz2 |
testsuites/dl11: Test TLS on a secondary thread
This adds a pthread that runs the test as well to increase test
coverage. The original test would have passed if all threads returned
the address of the Init task's errno since no additional threads or
tasks were checked.
Diffstat (limited to '')
-rw-r--r-- | testsuites/libtests/dl11/init.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuites/libtests/dl11/init.c b/testsuites/libtests/dl11/init.c index 91f529b055..0ff4557421 100644 --- a/testsuites/libtests/dl11/init.c +++ b/testsuites/libtests/dl11/init.c @@ -86,6 +86,8 @@ static void Init(rtems_task_argument arg) #define CONFIGURE_MAXIMUM_FILE_DESCRIPTORS 4 +#define CONFIGURE_MAXIMUM_POSIX_THREADS 1 + #define CONFIGURE_MAXIMUM_TASKS 1 #define CONFIGURE_MAXIMUM_SEMAPHORES 1 |