summaryrefslogtreecommitdiff
path: root/test/regression/interoperability_test/mqtt_test/test_scripts
diff options
context:
space:
mode:
Diffstat (limited to 'test/regression/interoperability_test/mqtt_test/test_scripts')
-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
8 files changed, 88 insertions, 0 deletions
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