summaryrefslogtreecommitdiff
path: root/test/regression/interoperability_test/mqtt_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/interoperability_test/mqtt_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/interoperability_test/mqtt_test')
-rw-r--r--test/regression/interoperability_test/mqtt_test/ca.c11
-rw-r--r--test/regression/interoperability_test/mqtt_test/generic_test_entry_0.c11
-rw-r--r--test/regression/interoperability_test/mqtt_test/linux_mqtt_subscriber_empty_message_test_publisher.c11
-rw-r--r--test/regression/interoperability_test/mqtt_test/linux_mqtt_subscriber_test_entry.c11
-rw-r--r--test/regression/interoperability_test/mqtt_test/linux_mqtt_subscriber_test_publisher.c11
-rw-r--r--test/regression/interoperability_test/mqtt_test/linux_mqtt_subscriber_test_server.c11
-rw-r--r--test/regression/interoperability_test/mqtt_test/linux_mqtt_tls_subscriber_test_entry.c11
-rw-r--r--test/regression/interoperability_test/mqtt_test/linux_mqtt_tls_subscriber_test_publisher.c11
-rw-r--r--test/regression/interoperability_test/mqtt_test/linux_mqtt_tls_subscriber_test_server.c11
-rw-r--r--test/regression/interoperability_test/mqtt_test/linux_mqtt_tls_subscriber_twice_test_publisher.c11
-rw-r--r--test/regression/interoperability_test/mqtt_test/mqtt_interoperability_test.h11
-rw-r--r--test/regression/interoperability_test/mqtt_test/netx_mqtt_double_subscribers_test.c11
-rw-r--r--test/regression/interoperability_test/mqtt_test/netx_mqtt_subscriber_empty_message_test.c11
-rw-r--r--test/regression/interoperability_test/mqtt_test/netx_mqtt_subscriber_test.c11
-rw-r--r--test/regression/interoperability_test/mqtt_test/netx_mqtt_tls_subscriber_test.c11
-rw-r--r--test/regression/interoperability_test/mqtt_test/netx_mqtt_tls_subscriber_twice_test.c11
-rw-r--r--test/regression/interoperability_test/mqtt_test/test_scripts/bridge_server.sh11
-rwxr-xr-xtest/regression/interoperability_test/mqtt_test/test_scripts/certificate_server.sh11
-rwxr-xr-xtest/regression/interoperability_test/mqtt_test/test_scripts/no_tls_pub.sh11
-rwxr-xr-xtest/regression/interoperability_test/mqtt_test/test_scripts/no_tls_server.sh11
-rwxr-xr-xtest/regression/interoperability_test/mqtt_test/test_scripts/no_tls_sub.sh11
-rw-r--r--test/regression/interoperability_test/mqtt_test/test_scripts/psk_server.sh11
-rwxr-xr-xtest/regression/interoperability_test/mqtt_test/test_scripts/pub.sh11
-rwxr-xr-xtest/regression/interoperability_test/mqtt_test/test_scripts/sub.sh11
24 files changed, 264 insertions, 0 deletions
diff --git a/test/regression/interoperability_test/mqtt_test/ca.c b/test/regression/interoperability_test/mqtt_test/ca.c
index 17bb35e9..f4a2ff72 100644
--- a/test/regression/interoperability_test/mqtt_test/ca.c
+++ b/test/regression/interoperability_test/mqtt_test/ca.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 */
+/***************************************************************************/
+
unsigned char ca_der[] = {
0x30, 0x82, 0x05, 0xfe, 0x30, 0x82, 0x03, 0xe6, 0xa0, 0x03, 0x02, 0x01,
0x02, 0x02, 0x01, 0x01, 0x30, 0x0d, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86,
diff --git a/test/regression/interoperability_test/mqtt_test/generic_test_entry_0.c b/test/regression/interoperability_test/mqtt_test/generic_test_entry_0.c
index d06cdf08..d2e163a6 100644
--- a/test/regression/interoperability_test/mqtt_test/generic_test_entry_0.c
+++ b/test/regression/interoperability_test/mqtt_test/generic_test_entry_0.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 "tls_test_frame.h"
/* Declare the test entries of test instances. */
diff --git a/test/regression/interoperability_test/mqtt_test/linux_mqtt_subscriber_empty_message_test_publisher.c b/test/regression/interoperability_test/mqtt_test/linux_mqtt_subscriber_empty_message_test_publisher.c
index e4392470..52c18165 100644
--- a/test/regression/interoperability_test/mqtt_test/linux_mqtt_subscriber_empty_message_test_publisher.c
+++ b/test/regression/interoperability_test/mqtt_test/linux_mqtt_subscriber_empty_message_test_publisher.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 "mqtt_interoperability_test.h"
/* Global semaphore address. */
diff --git a/test/regression/interoperability_test/mqtt_test/linux_mqtt_subscriber_test_entry.c b/test/regression/interoperability_test/mqtt_test/linux_mqtt_subscriber_test_entry.c
index 03e6b657..834b65ec 100644
--- a/test/regression/interoperability_test/mqtt_test/linux_mqtt_subscriber_test_entry.c
+++ b/test/regression/interoperability_test/mqtt_test/linux_mqtt_subscriber_test_entry.c
@@ -1 +1,12 @@
+/***************************************************************************/
+/* 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 "generic_test_entry_0.c"
diff --git a/test/regression/interoperability_test/mqtt_test/linux_mqtt_subscriber_test_publisher.c b/test/regression/interoperability_test/mqtt_test/linux_mqtt_subscriber_test_publisher.c
index f4f30ee9..5549b064 100644
--- a/test/regression/interoperability_test/mqtt_test/linux_mqtt_subscriber_test_publisher.c
+++ b/test/regression/interoperability_test/mqtt_test/linux_mqtt_subscriber_test_publisher.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 "mqtt_interoperability_test.h"
/* Global semaphore address. */
diff --git a/test/regression/interoperability_test/mqtt_test/linux_mqtt_subscriber_test_server.c b/test/regression/interoperability_test/mqtt_test/linux_mqtt_subscriber_test_server.c
index abb539e8..57e5570c 100644
--- a/test/regression/interoperability_test/mqtt_test/linux_mqtt_subscriber_test_server.c
+++ b/test/regression/interoperability_test/mqtt_test/linux_mqtt_subscriber_test_server.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 "mqtt_interoperability_test.h"
#ifdef NXD_MQTT_REQUIRE_TLS
diff --git a/test/regression/interoperability_test/mqtt_test/linux_mqtt_tls_subscriber_test_entry.c b/test/regression/interoperability_test/mqtt_test/linux_mqtt_tls_subscriber_test_entry.c
index 03e6b657..834b65ec 100644
--- a/test/regression/interoperability_test/mqtt_test/linux_mqtt_tls_subscriber_test_entry.c
+++ b/test/regression/interoperability_test/mqtt_test/linux_mqtt_tls_subscriber_test_entry.c
@@ -1 +1,12 @@
+/***************************************************************************/
+/* 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 "generic_test_entry_0.c"
diff --git a/test/regression/interoperability_test/mqtt_test/linux_mqtt_tls_subscriber_test_publisher.c b/test/regression/interoperability_test/mqtt_test/linux_mqtt_tls_subscriber_test_publisher.c
index 4c112f2d..198d6a73 100644
--- a/test/regression/interoperability_test/mqtt_test/linux_mqtt_tls_subscriber_test_publisher.c
+++ b/test/regression/interoperability_test/mqtt_test/linux_mqtt_tls_subscriber_test_publisher.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 "mqtt_interoperability_test.h"
#ifndef NX_SECURE_ENABLE
diff --git a/test/regression/interoperability_test/mqtt_test/linux_mqtt_tls_subscriber_test_server.c b/test/regression/interoperability_test/mqtt_test/linux_mqtt_tls_subscriber_test_server.c
index 274e462a..96a60be9 100644
--- a/test/regression/interoperability_test/mqtt_test/linux_mqtt_tls_subscriber_test_server.c
+++ b/test/regression/interoperability_test/mqtt_test/linux_mqtt_tls_subscriber_test_server.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 "mqtt_interoperability_test.h"
#ifndef NX_SECURE_ENABLE
diff --git a/test/regression/interoperability_test/mqtt_test/linux_mqtt_tls_subscriber_twice_test_publisher.c b/test/regression/interoperability_test/mqtt_test/linux_mqtt_tls_subscriber_twice_test_publisher.c
index 17e6913e..154238fc 100644
--- a/test/regression/interoperability_test/mqtt_test/linux_mqtt_tls_subscriber_twice_test_publisher.c
+++ b/test/regression/interoperability_test/mqtt_test/linux_mqtt_tls_subscriber_twice_test_publisher.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 "mqtt_interoperability_test.h"
#ifndef NX_SECURE_ENABLE
diff --git a/test/regression/interoperability_test/mqtt_test/mqtt_interoperability_test.h b/test/regression/interoperability_test/mqtt_test/mqtt_interoperability_test.h
index 55ca6e49..71a631e2 100644
--- a/test/regression/interoperability_test/mqtt_test/mqtt_interoperability_test.h
+++ b/test/regression/interoperability_test/mqtt_test/mqtt_interoperability_test.h
@@ -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 */
+/***************************************************************************/
+
#ifndef __MQTT_INTEROPERABILITY_TEST__
#define __MQTT_INTEROPERABILITY_TEST__
diff --git a/test/regression/interoperability_test/mqtt_test/netx_mqtt_double_subscribers_test.c b/test/regression/interoperability_test/mqtt_test/netx_mqtt_double_subscribers_test.c
index e976963f..9d10b067 100644
--- a/test/regression/interoperability_test/mqtt_test/netx_mqtt_double_subscribers_test.c
+++ b/test/regression/interoperability_test/mqtt_test/netx_mqtt_double_subscribers_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 "mqtt_interoperability_test.h"
#include "ca.c"
diff --git a/test/regression/interoperability_test/mqtt_test/netx_mqtt_subscriber_empty_message_test.c b/test/regression/interoperability_test/mqtt_test/netx_mqtt_subscriber_empty_message_test.c
index 9c30bbff..75f4734d 100644
--- a/test/regression/interoperability_test/mqtt_test/netx_mqtt_subscriber_empty_message_test.c
+++ b/test/regression/interoperability_test/mqtt_test/netx_mqtt_subscriber_empty_message_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 "mqtt_interoperability_test.h"
#include "nxd_mqtt_client.h"
diff --git a/test/regression/interoperability_test/mqtt_test/netx_mqtt_subscriber_test.c b/test/regression/interoperability_test/mqtt_test/netx_mqtt_subscriber_test.c
index 799bffd4..1484b881 100644
--- a/test/regression/interoperability_test/mqtt_test/netx_mqtt_subscriber_test.c
+++ b/test/regression/interoperability_test/mqtt_test/netx_mqtt_subscriber_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 "mqtt_interoperability_test.h"
#include "nxd_mqtt_client.h"
diff --git a/test/regression/interoperability_test/mqtt_test/netx_mqtt_tls_subscriber_test.c b/test/regression/interoperability_test/mqtt_test/netx_mqtt_tls_subscriber_test.c
index 4bd5f859..7d7a3630 100644
--- a/test/regression/interoperability_test/mqtt_test/netx_mqtt_tls_subscriber_test.c
+++ b/test/regression/interoperability_test/mqtt_test/netx_mqtt_tls_subscriber_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 "mqtt_interoperability_test.h"
#include "ca.c"
diff --git a/test/regression/interoperability_test/mqtt_test/netx_mqtt_tls_subscriber_twice_test.c b/test/regression/interoperability_test/mqtt_test/netx_mqtt_tls_subscriber_twice_test.c
index b46865bb..2c82494f 100644
--- a/test/regression/interoperability_test/mqtt_test/netx_mqtt_tls_subscriber_twice_test.c
+++ b/test/regression/interoperability_test/mqtt_test/netx_mqtt_tls_subscriber_twice_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 "mqtt_interoperability_test.h"
#include "ca.c"
diff --git a/test/regression/interoperability_test/mqtt_test/test_scripts/bridge_server.sh b/test/regression/interoperability_test/mqtt_test/test_scripts/bridge_server.sh
index 4f64f1ba..a1eb95bb 100644
--- a/test/regression/interoperability_test/mqtt_test/test_scripts/bridge_server.sh
+++ b/test/regression/interoperability_test/mqtt_test/test_scripts/bridge_server.sh
@@ -1,4 +1,15 @@
#! /bin/sh
+##############################################################################
+# 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
+##############################################################################
+
if [ -d "../mosquitto-1.6.9/src/" ]; then
export PATH=$PATH;../mosquitto-1.4.10/src/
fi
diff --git a/test/regression/interoperability_test/mqtt_test/test_scripts/certificate_server.sh b/test/regression/interoperability_test/mqtt_test/test_scripts/certificate_server.sh
index b7711aaf..495d211f 100755
--- a/test/regression/interoperability_test/mqtt_test/test_scripts/certificate_server.sh
+++ b/test/regression/interoperability_test/mqtt_test/test_scripts/certificate_server.sh
@@ -1,4 +1,15 @@
#! /bin/bash
+##############################################################################
+# 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
+##############################################################################
+
function kill_mqtt_server(){
kill $mqtt_server_pid
diff --git a/test/regression/interoperability_test/mqtt_test/test_scripts/no_tls_pub.sh b/test/regression/interoperability_test/mqtt_test/test_scripts/no_tls_pub.sh
index 34211a3e..46b0d880 100755
--- a/test/regression/interoperability_test/mqtt_test/test_scripts/no_tls_pub.sh
+++ b/test/regression/interoperability_test/mqtt_test/test_scripts/no_tls_pub.sh
@@ -1,4 +1,15 @@
#! /bin/sh
+##############################################################################
+# 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
+##############################################################################
+
dir=`dirname $0`
dir=`realpath $dir`
cd $dir
diff --git a/test/regression/interoperability_test/mqtt_test/test_scripts/no_tls_server.sh b/test/regression/interoperability_test/mqtt_test/test_scripts/no_tls_server.sh
index b04593a5..88c341a4 100755
--- a/test/regression/interoperability_test/mqtt_test/test_scripts/no_tls_server.sh
+++ b/test/regression/interoperability_test/mqtt_test/test_scripts/no_tls_server.sh
@@ -1,4 +1,15 @@
#! /bin/bash
+##############################################################################
+# 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
+##############################################################################
+
function kill_mqtt_server(){
kill $mqtt_server_pid
diff --git a/test/regression/interoperability_test/mqtt_test/test_scripts/no_tls_sub.sh b/test/regression/interoperability_test/mqtt_test/test_scripts/no_tls_sub.sh
index 52be4a76..8c668d99 100755
--- a/test/regression/interoperability_test/mqtt_test/test_scripts/no_tls_sub.sh
+++ b/test/regression/interoperability_test/mqtt_test/test_scripts/no_tls_sub.sh
@@ -1,4 +1,15 @@
#! /bin/sh
+##############################################################################
+# 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
+##############################################################################
+
dir=`dirname $0`
dir=`realpath $dir`
cd $dir
diff --git a/test/regression/interoperability_test/mqtt_test/test_scripts/psk_server.sh b/test/regression/interoperability_test/mqtt_test/test_scripts/psk_server.sh
index ce9691b8..54543e73 100644
--- a/test/regression/interoperability_test/mqtt_test/test_scripts/psk_server.sh
+++ b/test/regression/interoperability_test/mqtt_test/test_scripts/psk_server.sh
@@ -1 +1,12 @@
+##############################################################################
+# 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
+##############################################################################
+
../mosquitto-1.4.10/src/mosquitto.exe -c ./mosquitto-psk.conf -v -p 8883
diff --git a/test/regression/interoperability_test/mqtt_test/test_scripts/pub.sh b/test/regression/interoperability_test/mqtt_test/test_scripts/pub.sh
index 8e0eae0a..fd0b3540 100755
--- a/test/regression/interoperability_test/mqtt_test/test_scripts/pub.sh
+++ b/test/regression/interoperability_test/mqtt_test/test_scripts/pub.sh
@@ -1,4 +1,15 @@
#! /bin/sh
+##############################################################################
+# 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
+##############################################################################
+
dir=`dirname $0`
dir=`realpath $dir`
cd $dir
diff --git a/test/regression/interoperability_test/mqtt_test/test_scripts/sub.sh b/test/regression/interoperability_test/mqtt_test/test_scripts/sub.sh
index 83b95e34..1f49150b 100755
--- a/test/regression/interoperability_test/mqtt_test/test_scripts/sub.sh
+++ b/test/regression/interoperability_test/mqtt_test/test_scripts/sub.sh
@@ -1,4 +1,15 @@
#! /bin/sh
+##############################################################################
+# 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
+##############################################################################
+
dir=`dirname $0`
dir=`realpath $dir`
cd $dir