summaryrefslogtreecommitdiff
path: root/test/regression/telnet_test
diff options
context:
space:
mode:
authorFrédéric Desbiens <[email protected]>2026-06-08 10:03:52 +0200
committerGitHub <[email protected]>2026-06-08 10:03:52 +0200
commit1a0e9e43a03e37ddecfb6b49e9b078d6e1803d05 (patch)
treec60ec41b4ff4fd2d7566c505cbdd423ceddd65f3 /test/regression/telnet_test
parent8b6e03ac30ab688bec02c69d42f2304b7f72a202 (diff)
parent4d88828b06d164a5b7e82152395a92254abcd6e4 (diff)
Merge pull request #391 from eclipse-threadx/devv6.5.1.202602_reldev
Merging changes for the v.6.5.1.202602 release
Diffstat (limited to 'test/regression/telnet_test')
-rw-r--r--test/regression/telnet_test/netx_telnet_activity_timeout_test.c11
-rw-r--r--test/regression/telnet_test/netx_telnet_basic_test.c11
-rw-r--r--test/regression/telnet_test/netx_telnet_create_packet_pool_test.c11
-rw-r--r--test/regression/telnet_test/netx_telnet_max_connections_test.c11
-rw-r--r--test/regression/telnet_test/netx_telnet_rst_test.c11
-rw-r--r--test/regression/telnet_test/netx_telnet_server_bad_option_reply_test.c11
-rw-r--r--test/regression/telnet_test/netx_telnet_server_options_negotiate_test.c11
-rw-r--r--test/regression/telnet_test/netx_telnet_two_listen_test.c11
8 files changed, 88 insertions, 0 deletions
diff --git a/test/regression/telnet_test/netx_telnet_activity_timeout_test.c b/test/regression/telnet_test/netx_telnet_activity_timeout_test.c
index 6f7c70b4..19f56136 100644
--- a/test/regression/telnet_test/netx_telnet_activity_timeout_test.c
+++ b/test/regression/telnet_test/netx_telnet_activity_timeout_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test checks for the Telnet Server to keep track of the length of inactivity on all its connections
If the timeout is exceeded it should close the connection.
diff --git a/test/regression/telnet_test/netx_telnet_basic_test.c b/test/regression/telnet_test/netx_telnet_basic_test.c
index dff738a6..1b785cf3 100644
--- a/test/regression/telnet_test/netx_telnet_basic_test.c
+++ b/test/regression/telnet_test/netx_telnet_basic_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
#include "tx_api.h"
diff --git a/test/regression/telnet_test/netx_telnet_create_packet_pool_test.c b/test/regression/telnet_test/netx_telnet_create_packet_pool_test.c
index 369145c2..1aa9a77c 100644
--- a/test/regression/telnet_test/netx_telnet_create_packet_pool_test.c
+++ b/test/regression/telnet_test/netx_telnet_create_packet_pool_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This demo tests the feature to create the Telnet packet pool instead of the default
behavior of the Telnet Server creating its own packet pool.
diff --git a/test/regression/telnet_test/netx_telnet_max_connections_test.c b/test/regression/telnet_test/netx_telnet_max_connections_test.c
index 825cd06a..64ed1c48 100644
--- a/test/regression/telnet_test/netx_telnet_max_connections_test.c
+++ b/test/regression/telnet_test/netx_telnet_max_connections_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test checks for the Telnet Server limiting itself to the NX_TELNET_MAX_CLIENTS. The test verifies
that the Telnet Server supports at most NX_TELNET_MAX_CLIENTS simultaneous connections, and that each Client receives
responses to their Telnet packets.
diff --git a/test/regression/telnet_test/netx_telnet_rst_test.c b/test/regression/telnet_test/netx_telnet_rst_test.c
index 439d789d..8c111532 100644
--- a/test/regression/telnet_test/netx_telnet_rst_test.c
+++ b/test/regression/telnet_test/netx_telnet_rst_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This case tests the Telnet server on handling RST packet.
*/
#include "tx_api.h"
diff --git a/test/regression/telnet_test/netx_telnet_server_bad_option_reply_test.c b/test/regression/telnet_test/netx_telnet_server_bad_option_reply_test.c
index 8dd620b5..d7a989fe 100644
--- a/test/regression/telnet_test/netx_telnet_server_bad_option_reply_test.c
+++ b/test/regression/telnet_test/netx_telnet_server_bad_option_reply_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test checks for the Telnet Server to handle invalid telnet client option replies and unsupported client telnet options
in response to the server offering ECHO, Suppress Go Ahead and asks the peer not to ECHO (Don't Echo).
The Telnet Client is programmed to respond with a WILL ECHO (to the server WILL ECHO), a WILL [0x99 unknown option] and Won't Echo.
diff --git a/test/regression/telnet_test/netx_telnet_server_options_negotiate_test.c b/test/regression/telnet_test/netx_telnet_server_options_negotiate_test.c
index bc5a97de..983a1747 100644
--- a/test/regression/telnet_test/netx_telnet_server_options_negotiate_test.c
+++ b/test/regression/telnet_test/netx_telnet_server_options_negotiate_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test checks for the Telnet Server to negotiate with a Telnet Client for three common
Telnet options. It offers to ECHO, Suppress Go Ahead and asks the peer not to ECHO (Don't Echo).
The Telnet Client is programmed to acknowledge the ECHO and SGA, and Won't Echo.
diff --git a/test/regression/telnet_test/netx_telnet_two_listen_test.c b/test/regression/telnet_test/netx_telnet_two_listen_test.c
index f8d6f302..bb271bb1 100644
--- a/test/regression/telnet_test/netx_telnet_two_listen_test.c
+++ b/test/regression/telnet_test/netx_telnet_two_listen_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This case tests the Telnet server on handling two session listen situation.
*/
#include "tx_api.h"