summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/dl11/init.c
diff options
context:
space:
mode:
authorKinsey Moore <kinsey.moore@oarcorp.com>2024-02-18 20:16:22 -0600
committerJoel Sherrill <joel@rtems.org>2024-02-19 09:26:10 -0600
commit6b1222465e164a975b0591a88651eb41f3f5e872 (patch)
tree3f9a9c7e1da8b87840857a6aef61816759c3a91c /testsuites/libtests/dl11/init.c
parentbsps/qspipsu: Calculate correct parallel mode size (diff)
downloadrtems-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.c2
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