diff --git a/common/inc/fx_api.h b/common/inc/fx_api.h index aac3683..9c25594 100644 --- a/common/inc/fx_api.h +++ b/common/inc/fx_api.h @@ -86,8 +86,8 @@ extern "C" { #define AZURE_RTOS_FILEX #define FILEX_MAJOR_VERSION 6 #define FILEX_MINOR_VERSION 5 -#define FILEX_PATCH_VERSION 0 -#define FILEX_BUILD_VERSION 202601 +#define FILEX_PATCH_VERSION 1 +#define FILEX_BUILD_VERSION 202602 #define FILEX_HOTFIX_VERSION ' ' /* Define the following symbols for backward compatibility */ diff --git a/common/src/fx_media_format.c b/common/src/fx_media_format.c index a1863e0..108245e 100644 --- a/common/src/fx_media_format.c +++ b/common/src/fx_media_format.c @@ -669,6 +669,22 @@ UINT sectors_per_fat, f, s; } } +#ifndef FX_MEDIA_STATISTICS_DISABLE + + /* Increment the number of driver flush requests. */ + media_ptr -> fx_media_driver_flush_requests++; +#endif + + /* Build the "flush" I/O driver request. */ + media_ptr -> fx_media_driver_request = FX_DRIVER_FLUSH; + media_ptr -> fx_media_driver_status = FX_IO_ERROR; + + /* If trace is enabled, insert this event into the trace buffer. */ + FX_TRACE_IN_LINE_INSERT(FX_TRACE_INTERNAL_IO_DRIVER_FLUSH, media_ptr, 0, 0, 0, FX_TRACE_INTERNAL_EVENTS, 0, 0) + + /* Call the specified I/O driver with the flush request. */ + (driver)(media_ptr); + /* Build the "uninitialize" I/O driver request. */ media_ptr -> fx_media_driver_request = FX_DRIVER_UNINIT; media_ptr -> fx_media_driver_status = FX_IO_ERROR; diff --git a/ports/generic/inc/fx_port.h b/ports/generic/inc/fx_port.h index 30653e6..b3e8de7 100644 --- a/ports/generic/inc/fx_port.h +++ b/ports/generic/inc/fx_port.h @@ -206,7 +206,7 @@ typedef unsigned long long ULONG64; #ifdef FX_SYSTEM_INIT CHAR _fx_version_id[] = - "(c) 2024 Microsoft Corp. (c) 2026-present Eclipse ThreadX contributors. * FileX Generic Version 6.5.0.202601 *"; + "(c) 2024 Microsoft Corp. (c) 2026-present Eclipse ThreadX contributors. * FileX Generic Version 6.5.1.202602 *"; #else extern CHAR _fx_version_id[]; #endif diff --git a/ports/linux/gnu/inc/fx_port.h b/ports/linux/gnu/inc/fx_port.h index 3d2844d..fa420f4 100644 --- a/ports/linux/gnu/inc/fx_port.h +++ b/ports/linux/gnu/inc/fx_port.h @@ -331,7 +331,7 @@ extern VOID fault_tolerant_apply_log_callback(struct FX_MEDIA_STRUCT *media_ptr, #ifdef FX_SYSTEM_INIT CHAR _fx_version_id[] = - "(c) 2024 Microsoft Corp. (c) 2026-present Eclipse ThreadX contributors. * FileX Linux/GCC Version 6.5.0.202601 *"; + "(c) 2024 Microsoft Corp. (c) 2026-present Eclipse ThreadX contributors. * FileX Linux/GCC Version 6.5.1.202602 *"; #else extern CHAR _fx_version_id[]; #endif diff --git a/ports/win32/vs_2019/inc/fx_port.h b/ports/win32/vs_2019/inc/fx_port.h index 3807532..3fa5d2a 100644 --- a/ports/win32/vs_2019/inc/fx_port.h +++ b/ports/win32/vs_2019/inc/fx_port.h @@ -196,7 +196,7 @@ typedef unsigned long long ULONG64; #ifdef FX_SYSTEM_INIT CHAR _fx_version_id[] = - "Copyright (c) 2024 Microsoft Corporation. * FileX Win32/Version 6.4.1 *"; + "Copyright (c) 2024 Microsoft Corporation. * FileX Win32/Version 6.5.1.202602 *"; * Copyright (c) 2026-present Eclipse ThreadX contributors #else extern CHAR _fx_version_id[]; diff --git a/scripts/build.sh b/scripts/build.sh index 48ee9a5..736b73f 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -1,2 +1,13 @@ #!/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 +############################################################################## + $(dirname `realpath $0`)/../test/cmake/run.sh build all diff --git a/scripts/install.sh b/scripts/install.sh index d38a477..bcf4a0c 100755 --- a/scripts/install.sh +++ b/scripts/install.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 +############################################################################## + # # Remove large folder diff --git a/scripts/prepare_release.sh b/scripts/prepare_release.sh new file mode 100755 index 0000000..f9b60c5 --- /dev/null +++ b/scripts/prepare_release.sh @@ -0,0 +1,172 @@ +#!/usr/bin/env bash +# prepare_release.sh +# Prepares a FileX release by updating version constants and port version strings. +# +# Usage: prepare_release.sh +# Example: prepare_release.sh 6.5.1.202602 +# Hotfix: prepare_release.sh 6.5.1.202602a +# +# This script: +# 1. Creates branch release--preparation from dev +# 2. Updates version constants in common/inc/fx_api.h +# (commit: "Updated version number constants") +# 3. Updates port version strings in all fx_port.h files +# (commit: "Updated port version strings") +# +# Copyright (C) 2026 Eclipse ThreadX contributors +# SPDX-License-Identifier: MIT + +set -eu + +SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)" +REPO_ROOT="$(cd "${SCRIPT_DIR}/.." && pwd)" + +API_HEADER="${REPO_ROOT}/common/inc/fx_api.h" +PORT_HEADER_NAME="fx_port.h" +PORT_DIRS="ports" + +# -------------------------------------------------------------------------- +# Argument validation +# -------------------------------------------------------------------------- +if [ "$#" -ne 1 ]; then + printf "Usage: %s \n" "$(basename "$0")" >&2 + printf "Example: %s 6.5.1.202602\n" "$(basename "$0")" >&2 + exit 1 +fi + +VERSION="$1" + +if ! printf "%s" "${VERSION}" | grep -qE '^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+[a-z]?$'; then + printf "Error: Invalid version format '%s'.\n" "${VERSION}" >&2 + printf "Expected: MAJOR.MINOR.PATCH.BUILD[hotfix_letter]\n" >&2 + exit 1 +fi + +# -------------------------------------------------------------------------- +# Parse version components +# -------------------------------------------------------------------------- +MAJOR=$(printf "%s" "${VERSION}" | cut -d. -f1) +MINOR=$(printf "%s" "${VERSION}" | cut -d. -f2) +PATCH=$(printf "%s" "${VERSION}" | cut -d. -f3) +BUILD_AND_HOTFIX=$(printf "%s" "${VERSION}" | cut -d. -f4) +BUILD=$(printf "%s" "${BUILD_AND_HOTFIX}" | sed -E 's/[a-z]+$//') +HOTFIX=$(printf "%s" "${BUILD_AND_HOTFIX}" | sed -E 's/^[0-9]+//') + +if [ -z "${HOTFIX}" ]; then + HOTFIX_DEFINE="' '" +else + HOTFIX_DEFINE="'${HOTFIX}'" +fi + +# -------------------------------------------------------------------------- +# Read and display current version +# -------------------------------------------------------------------------- +CURR_MAJOR=$(grep -E "^#define FILEX_MAJOR_VERSION" "${API_HEADER}" | awk '{print $NF}') +CURR_MINOR=$(grep -E "^#define FILEX_MINOR_VERSION" "${API_HEADER}" | awk '{print $NF}') +CURR_PATCH=$(grep -E "^#define FILEX_PATCH_VERSION" "${API_HEADER}" | awk '{print $NF}') +CURR_BUILD=$(grep -E "^#define FILEX_BUILD_VERSION" "${API_HEADER}" | awk '{print $NF}') +CURR_HOTFIX=$(grep -E "^#define FILEX_HOTFIX_VERSION" "${API_HEADER}" | \ + sed -E "s/.*'([^']*)'.*/\1/" | tr -d ' ') + +if [ -z "${CURR_HOTFIX}" ]; then + CURR_VER="${CURR_MAJOR}.${CURR_MINOR}.${CURR_PATCH}.${CURR_BUILD}" +else + CURR_VER="${CURR_MAJOR}.${CURR_MINOR}.${CURR_PATCH}.${CURR_BUILD}${CURR_HOTFIX}" +fi + +printf "\nFileX release preparation\n" +printf " Repository : %s\n" "${REPO_ROOT}" +printf " Current version : %s\n" "${CURR_VER}" +printf " Target version : %s\n\n" "${VERSION}" +printf "Proceed with update? [y/N] " +read -r CONFIRM +case "${CONFIRM}" in + y|Y) ;; + *) + printf "Aborted.\n" + exit 0 + ;; +esac + +# -------------------------------------------------------------------------- +# Pre-flight checks +# -------------------------------------------------------------------------- +if ! git -C "${REPO_ROOT}" diff --quiet HEAD 2>/dev/null; then + printf "Error: Working tree has uncommitted changes. Commit or stash first.\n" >&2 + exit 1 +fi + +# -------------------------------------------------------------------------- +# Create feature branch from dev +# -------------------------------------------------------------------------- +BRANCH_NAME="release-${VERSION}-preparation" +printf "\nChecking out dev and pulling latest changes...\n" +git -C "${REPO_ROOT}" checkout dev +git -C "${REPO_ROOT}" pull origin dev +printf "Creating branch '%s'...\n" "${BRANCH_NAME}" +git -C "${REPO_ROOT}" checkout -b "${BRANCH_NAME}" + +# -------------------------------------------------------------------------- +# Update version constants +# -------------------------------------------------------------------------- +printf "\nUpdating version constants in %s...\n" "${API_HEADER}" + +sed -i -E "s|(#define FILEX_MAJOR_VERSION[[:space:]]+)[0-9]+|\1${MAJOR}|" "${API_HEADER}" +sed -i -E "s|(#define FILEX_MINOR_VERSION[[:space:]]+)[0-9]+|\1${MINOR}|" "${API_HEADER}" +sed -i -E "s|(#define FILEX_PATCH_VERSION[[:space:]]+)[0-9]+|\1${PATCH}|" "${API_HEADER}" +sed -i -E "s|(#define FILEX_BUILD_VERSION[[:space:]]+)[0-9]+|\1${BUILD}|" "${API_HEADER}" +sed -i -E "s|(#define FILEX_HOTFIX_VERSION[[:space:]]+)'[^']*'|\1${HOTFIX_DEFINE}|" "${API_HEADER}" + +git -C "${REPO_ROOT}" add "${API_HEADER}" +git -C "${REPO_ROOT}" commit -F - <<'COMMIT_EOF' +Updated version number constants + +Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> +COMMIT_EOF + +printf "Committed version constant updates.\n" + +# -------------------------------------------------------------------------- +# Update port version strings +# -------------------------------------------------------------------------- +printf "\nUpdating port version strings...\n" + +PORT_FILES="" +for dir in ${PORT_DIRS}; do + if [ -d "${REPO_ROOT}/${dir}" ]; then + found=$(find "${REPO_ROOT}/${dir}" -name "${PORT_HEADER_NAME}" 2>/dev/null | sort) + if [ -n "${found}" ]; then + PORT_FILES="${PORT_FILES}${found} +" + fi + fi +done +PORT_FILES=$(printf "%s" "${PORT_FILES}" | grep -v '^[[:space:]]*$' || true) + +if [ -z "${PORT_FILES}" ]; then + printf "Warning: No port header files found. Skipping port version string commit.\n" +else + while IFS= read -r port_file; do + if [ -n "${port_file}" ] && grep -qE "Version [0-9]" "${port_file}" 2>/dev/null; then + sed -i -E "s/Version [0-9]+\.[0-9]+\.[0-9]+\.[0-9]+[a-z]*/Version ${VERSION}/g" "${port_file}" + printf " Updated: %s\n" "${port_file#${REPO_ROOT}/}" + fi + done < +COMMIT_EOF + printf "Committed port version string updates.\n" + fi +fi + +printf "\nRelease preparation complete.\n" +printf "Branch '%s' is ready for review.\n" "${BRANCH_NAME}" diff --git a/scripts/test.sh b/scripts/test.sh index 54b0e34..49fe8a3 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -1,2 +1,13 @@ #!/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 +############################################################################## + $(dirname `realpath $0`)/../test/cmake/run.sh test all diff --git a/test/cmake/coverage.sh b/test/cmake/coverage.sh index 48f3a73..ce81e77 100755 --- a/test/cmake/coverage.sh +++ b/test/cmake/coverage.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 +############################################################################## + set -e diff --git a/test/cmake/run.sh b/test/cmake/run.sh index 6bbc9e5..4d7950a 100755 --- a/test/cmake/run.sh +++ b/test/cmake/run.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 +############################################################################## + cd $(dirname $0) diff --git a/test/regression_test/filex_directory_attributes_read_set_test.c b/test/regression_test/filex_directory_attributes_read_set_test.c index af9362a..788baff 100644 --- a/test/regression_test/filex_directory_attributes_read_set_test.c +++ b/test/regression_test/filex_directory_attributes_read_set_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 FileX test concentrates on the file attributes read/set operation. */ #ifndef FX_STANDALONE_ENABLE diff --git a/test/regression_test/filex_directory_create_delete_test.c b/test/regression_test/filex_directory_create_delete_test.c index 0fe6ac1..d092469 100644 --- a/test/regression_test/filex_directory_create_delete_test.c +++ b/test/regression_test/filex_directory_create_delete_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 FileX test concentrates on the basic directory create/delete operations. */ #ifndef FX_STANDALONE_ENABLE diff --git a/test/regression_test/filex_directory_default_path_get_set_test.c b/test/regression_test/filex_directory_default_path_get_set_test.c index 571d166..4683751 100644 --- a/test/regression_test/filex_directory_default_path_get_set_test.c +++ b/test/regression_test/filex_directory_default_path_get_set_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 FileX test concentrates on the basic directory default path get/set operations. */ #ifndef FX_STANDALONE_ENABLE diff --git a/test/regression_test/filex_directory_duplicate_entries_test.c b/test/regression_test/filex_directory_duplicate_entries_test.c index 9cdd61d..5266d66 100644 --- a/test/regression_test/filex_directory_duplicate_entries_test.c +++ b/test/regression_test/filex_directory_duplicate_entries_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 FileX test concentrates on recovery operation when there are duplicate entries. */ #ifndef FX_STANDALONE_ENABLE diff --git a/test/regression_test/filex_directory_first_next_find_test.c b/test/regression_test/filex_directory_first_next_find_test.c index baf9966..f4620f7 100644 --- a/test/regression_test/filex_directory_first_next_find_test.c +++ b/test/regression_test/filex_directory_first_next_find_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 FileX test concentrates on the basic first/next entry find operations. */ #ifndef FX_STANDALONE_ENABLE diff --git a/test/regression_test/filex_directory_local_path_test.c b/test/regression_test/filex_directory_local_path_test.c index d3f73c6..71ea3db 100644 --- a/test/regression_test/filex_directory_local_path_test.c +++ b/test/regression_test/filex_directory_local_path_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 FileX test concentrates on the local path operations. */ #ifndef FX_STANDALONE_ENABLE diff --git a/test/regression_test/filex_directory_long_short_get_test.c b/test/regression_test/filex_directory_long_short_get_test.c index 8c4d800..1a7229a 100644 --- a/test/regression_test/filex_directory_long_short_get_test.c +++ b/test/regression_test/filex_directory_long_short_get_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 FileX test concentrates on the directory long/short name get operations. */ #ifndef FX_STANDALONE_ENABLE diff --git a/test/regression_test/filex_directory_naming_test.c b/test/regression_test/filex_directory_naming_test.c index ae93365..8232e07 100644 --- a/test/regression_test/filex_directory_naming_test.c +++ b/test/regression_test/filex_directory_naming_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 FileX test concentrates on the basic directory naming operations. */ #ifndef FX_STANDALONE_ENABLE diff --git a/test/regression_test/filex_directory_rename_test.c b/test/regression_test/filex_directory_rename_test.c index fb0a730..36fd181 100644 --- a/test/regression_test/filex_directory_rename_test.c +++ b/test/regression_test/filex_directory_rename_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 FileX test concentrates on the directory rename operations. */ #ifndef FX_STANDALONE_ENABLE diff --git a/test/regression_test/filex_fault_tolerant_corrupted_log_file_test.c b/test/regression_test/filex_fault_tolerant_corrupted_log_file_test.c index 1217221..9b6dfea 100644 --- a/test/regression_test/filex_fault_tolerant_corrupted_log_file_test.c +++ b/test/regression_test/filex_fault_tolerant_corrupted_log_file_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 FileX test concentrates on validating the buffer overflow when Fault-Tolerant is enabled. */ #if 0 *Description* diff --git a/test/regression_test/filex_fault_tolerant_delete_large_data_test.c b/test/regression_test/filex_fault_tolerant_delete_large_data_test.c index a267b1c..688055f 100644 --- a/test/regression_test/filex_fault_tolerant_delete_large_data_test.c +++ b/test/regression_test/filex_fault_tolerant_delete_large_data_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 FileX test concentrates on the Fault-Tolerant delete large data test. */ /* For FAT 12, 16, 32, one cluster size is 1024 bytes; diff --git a/test/regression_test/filex_fault_tolerant_directory_attributes_set_directory_interrupt_test.c b/test/regression_test/filex_fault_tolerant_directory_attributes_set_directory_interrupt_test.c index 607d3c8..2d2d5ee 100644 --- a/test/regression_test/filex_fault_tolerant_directory_attributes_set_directory_interrupt_test.c +++ b/test/regression_test/filex_fault_tolerant_directory_attributes_set_directory_interrupt_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 FileX test concentrates on the Fault-Tolerant directory write interrupt operation. */ /* For FAT 12, 16, 32, one cluster size is 1024 bytes; diff --git a/test/regression_test/filex_fault_tolerant_directory_attributes_set_redo_log_interrupt_test.c b/test/regression_test/filex_fault_tolerant_directory_attributes_set_redo_log_interrupt_test.c index 7698b4c..5b09846 100644 --- a/test/regression_test/filex_fault_tolerant_directory_attributes_set_redo_log_interrupt_test.c +++ b/test/regression_test/filex_fault_tolerant_directory_attributes_set_redo_log_interrupt_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 FileX test concentrates on the Fault-Tolerant redo_log write interrupt operation. */ /* For FAT 12, 16, 32, one cluster size is 1024 bytes; diff --git a/test/regression_test/filex_fault_tolerant_directory_create_directory_interrupt_test.c b/test/regression_test/filex_fault_tolerant_directory_create_directory_interrupt_test.c index 91cd07d..9f5e454 100644 --- a/test/regression_test/filex_fault_tolerant_directory_create_directory_interrupt_test.c +++ b/test/regression_test/filex_fault_tolerant_directory_create_directory_interrupt_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 FileX test concentrates on the Fault-Tolerant directory write interrupt operation. */ /* For FAT 12, 16, 32, one cluster size is 1024 bytes; diff --git a/test/regression_test/filex_fault_tolerant_directory_create_redo_log_interrupt_test.c b/test/regression_test/filex_fault_tolerant_directory_create_redo_log_interrupt_test.c index 913debb..3e9c6bd 100644 --- a/test/regression_test/filex_fault_tolerant_directory_create_redo_log_interrupt_test.c +++ b/test/regression_test/filex_fault_tolerant_directory_create_redo_log_interrupt_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 FileX test concentrates on the Fault-Tolerant redo log write interrupt operation. */ /* For FAT 12, 16, 32, one cluster size is 1024 bytes; diff --git a/test/regression_test/filex_fault_tolerant_directory_delete_directory_interrupt_test.c b/test/regression_test/filex_fault_tolerant_directory_delete_directory_interrupt_test.c index fa02bfd..3cd7fb7 100644 --- a/test/regression_test/filex_fault_tolerant_directory_delete_directory_interrupt_test.c +++ b/test/regression_test/filex_fault_tolerant_directory_delete_directory_interrupt_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 FileX test concentrates on the Fault-Tolerant directory write interrupt operation. */ /* For FAT 12, 16, 32, one cluster size is 1024 bytes; diff --git a/test/regression_test/filex_fault_tolerant_directory_delete_redo_log_interrupt_test.c b/test/regression_test/filex_fault_tolerant_directory_delete_redo_log_interrupt_test.c index 7b89f83..c719b88 100644 --- a/test/regression_test/filex_fault_tolerant_directory_delete_redo_log_interrupt_test.c +++ b/test/regression_test/filex_fault_tolerant_directory_delete_redo_log_interrupt_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 FileX test concentrates on the Fault-Tolerant redo log write interrupt operation. */ /* For FAT 12, 16, 32, one cluster size is 1024 bytes; diff --git a/test/regression_test/filex_fault_tolerant_directory_rename_directory_interrupt_test.c b/test/regression_test/filex_fault_tolerant_directory_rename_directory_interrupt_test.c index abfb04e..97f7254 100644 --- a/test/regression_test/filex_fault_tolerant_directory_rename_directory_interrupt_test.c +++ b/test/regression_test/filex_fault_tolerant_directory_rename_directory_interrupt_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 FileX test concentrates on the Fault-Tolerant directory write interrupt operation. */ /* For FAT 12, 16, 32, one cluster size is 1024 bytes; diff --git a/test/regression_test/filex_fault_tolerant_directory_rename_redo_log_interrupt_test.c b/test/regression_test/filex_fault_tolerant_directory_rename_redo_log_interrupt_test.c index 7a08250..d2722b5 100644 --- a/test/regression_test/filex_fault_tolerant_directory_rename_redo_log_interrupt_test.c +++ b/test/regression_test/filex_fault_tolerant_directory_rename_redo_log_interrupt_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 FileX test concentrates on the Fault-Tolerant redo log write interrupt operation. */ /* For FAT 12, 16, 32, one cluster size is 1024 bytes; diff --git a/test/regression_test/filex_fault_tolerant_enable_1_test.c b/test/regression_test/filex_fault_tolerant_enable_1_test.c index ecebbe4..c5ed22d 100644 --- a/test/regression_test/filex_fault_tolerant_enable_1_test.c +++ b/test/regression_test/filex_fault_tolerant_enable_1_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 */ +/***************************************************************************/ + /* In this test point: */ /* Send null pointer to generate an error in fxe_fault_tolerant_enable */ /* Register an invalid cluster number for fault_tolerant log file and enable the Fault-tolerant feature. */ diff --git a/test/regression_test/filex_fault_tolerant_enable_2_test.c b/test/regression_test/filex_fault_tolerant_enable_2_test.c index 0d74959..6fca1af 100644 --- a/test/regression_test/filex_fault_tolerant_enable_2_test.c +++ b/test/regression_test/filex_fault_tolerant_enable_2_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 */ +/***************************************************************************/ + #ifndef FX_STANDALONE_ENABLE #include "tx_api.h" #include "tx_thread.h" diff --git a/test/regression_test/filex_fault_tolerant_enable_3_test.c b/test/regression_test/filex_fault_tolerant_enable_3_test.c index 790e596..b0eeeac 100644 --- a/test/regression_test/filex_fault_tolerant_enable_3_test.c +++ b/test/regression_test/filex_fault_tolerant_enable_3_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 */ +/***************************************************************************/ + #ifndef FX_STANDALONE_ENABLE #include "tx_api.h" #include "tx_thread.h" diff --git a/test/regression_test/filex_fault_tolerant_enable_4_test.c b/test/regression_test/filex_fault_tolerant_enable_4_test.c index c1dc92f..fabfb89 100644 --- a/test/regression_test/filex_fault_tolerant_enable_4_test.c +++ b/test/regression_test/filex_fault_tolerant_enable_4_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 */ +/***************************************************************************/ + #ifndef FX_STANDALONE_ENABLE #include "tx_api.h" #else diff --git a/test/regression_test/filex_fault_tolerant_enable_test.c b/test/regression_test/filex_fault_tolerant_enable_test.c index f835e73..86f02dc 100644 --- a/test/regression_test/filex_fault_tolerant_enable_test.c +++ b/test/regression_test/filex_fault_tolerant_enable_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 FileX test concentrates on the Fault-Tolerant enable feature. */ /* For FAT 12, 16, 32, one cluster size is 1024 bytes; diff --git a/test/regression_test/filex_fault_tolerant_file_allocate_directory_interrupt_test.c b/test/regression_test/filex_fault_tolerant_file_allocate_directory_interrupt_test.c index f0747b7..9da7469 100644 --- a/test/regression_test/filex_fault_tolerant_file_allocate_directory_interrupt_test.c +++ b/test/regression_test/filex_fault_tolerant_file_allocate_directory_interrupt_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 FileX test concentrates on the Fault-Tolerant direcotry write interrupt operation. */ /* For FAT 12, 16, 32, one cluster size is 1024 bytes; diff --git a/test/regression_test/filex_fault_tolerant_file_allocate_fat_crossover_test.c b/test/regression_test/filex_fault_tolerant_file_allocate_fat_crossover_test.c index f8ffb9d..43818af 100644 --- a/test/regression_test/filex_fault_tolerant_file_allocate_fat_crossover_test.c +++ b/test/regression_test/filex_fault_tolerant_file_allocate_fat_crossover_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 FileX test concentrates on the bug as per * JIRA: https://expresslogic.atlassian.net/browse/FIL-4. * In fx_fault_tolerant_cleanup_FAT_chain.c, a group of the FAT entries are updated in the cache diff --git a/test/regression_test/filex_fault_tolerant_file_allocate_fat_interrupt_test.c b/test/regression_test/filex_fault_tolerant_file_allocate_fat_interrupt_test.c index 0c37ad4..14eb078 100644 --- a/test/regression_test/filex_fault_tolerant_file_allocate_fat_interrupt_test.c +++ b/test/regression_test/filex_fault_tolerant_file_allocate_fat_interrupt_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 FileX test concentrates on the Fault-Tolerant FAT write interrupt operation. */ /* For FAT 12, 16, 32, one cluster size is 1024 bytes; diff --git a/test/regression_test/filex_fault_tolerant_file_allocate_redo_log_interrupt_test.c b/test/regression_test/filex_fault_tolerant_file_allocate_redo_log_interrupt_test.c index 5320edc..6ad62d4 100644 --- a/test/regression_test/filex_fault_tolerant_file_allocate_redo_log_interrupt_test.c +++ b/test/regression_test/filex_fault_tolerant_file_allocate_redo_log_interrupt_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 FileX test concentrates on the Fault-Tolerant redo LOG write interrupt operation. */ /* For FAT 12, 16, 32, one cluster size is 1024 bytes; diff --git a/test/regression_test/filex_fault_tolerant_file_allocate_test.c b/test/regression_test/filex_fault_tolerant_file_allocate_test.c index fcc6b40..08c249c 100644 --- a/test/regression_test/filex_fault_tolerant_file_allocate_test.c +++ b/test/regression_test/filex_fault_tolerant_file_allocate_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 FileX test concentrates on the Fault-Tolerant the file allocate related API test. * The offset of file is not changed after file allocate operation. */ diff --git a/test/regression_test/filex_fault_tolerant_file_allocate_undo_log_interrupt_test.c b/test/regression_test/filex_fault_tolerant_file_allocate_undo_log_interrupt_test.c index 15bbdef..4d5e747 100644 --- a/test/regression_test/filex_fault_tolerant_file_allocate_undo_log_interrupt_test.c +++ b/test/regression_test/filex_fault_tolerant_file_allocate_undo_log_interrupt_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 FileX test concentrates on the Fault-Tolerant undo LOG write interrupt operation. */ /* For FAT 12, 16, 32, one cluster size is 1024 bytes; diff --git a/test/regression_test/filex_fault_tolerant_file_attributes_set_directory_interrupt_test.c b/test/regression_test/filex_fault_tolerant_file_attributes_set_directory_interrupt_test.c index abcdf06..cbe4f62 100644 --- a/test/regression_test/filex_fault_tolerant_file_attributes_set_directory_interrupt_test.c +++ b/test/regression_test/filex_fault_tolerant_file_attributes_set_directory_interrupt_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 FileX test concentrates on the Fault-Tolerant directory write interrupt operation. */ /* For FAT 12, 16, 32, one cluster size is 1024 bytes; diff --git a/test/regression_test/filex_fault_tolerant_file_attributes_set_redo_log_interrupt_test.c b/test/regression_test/filex_fault_tolerant_file_attributes_set_redo_log_interrupt_test.c index 7826642..e04d801 100644 --- a/test/regression_test/filex_fault_tolerant_file_attributes_set_redo_log_interrupt_test.c +++ b/test/regression_test/filex_fault_tolerant_file_attributes_set_redo_log_interrupt_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 FileX test concentrates on the Fault-Tolerant redo Log write interrupt operation. */ /* For FAT 12, 16, 32, one cluster size is 1024 bytes; diff --git a/test/regression_test/filex_fault_tolerant_file_best_allocate_directory_interrupt_test.c b/test/regression_test/filex_fault_tolerant_file_best_allocate_directory_interrupt_test.c index 40d674b..a4e75e6 100644 --- a/test/regression_test/filex_fault_tolerant_file_best_allocate_directory_interrupt_test.c +++ b/test/regression_test/filex_fault_tolerant_file_best_allocate_directory_interrupt_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 FileX test concentrates on the Fault-Tolerant directory write interrupt operation. */ /* For FAT 12, 16, 32, one cluster size is 1024 bytes; diff --git a/test/regression_test/filex_fault_tolerant_file_best_allocate_fat_interrupt_test.c b/test/regression_test/filex_fault_tolerant_file_best_allocate_fat_interrupt_test.c index 01d65c8..ea8586a 100644 --- a/test/regression_test/filex_fault_tolerant_file_best_allocate_fat_interrupt_test.c +++ b/test/regression_test/filex_fault_tolerant_file_best_allocate_fat_interrupt_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 FileX test concentrates on the Fault-Tolerant FAT write interrupt operation. */ /* For FAT 12, 16, 32, one cluster size is 1024 bytes; diff --git a/test/regression_test/filex_fault_tolerant_file_best_allocate_redo_log_interrupt_test.c b/test/regression_test/filex_fault_tolerant_file_best_allocate_redo_log_interrupt_test.c index 79716f3..85fcffb 100644 --- a/test/regression_test/filex_fault_tolerant_file_best_allocate_redo_log_interrupt_test.c +++ b/test/regression_test/filex_fault_tolerant_file_best_allocate_redo_log_interrupt_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 FileX test concentrates on the Fault-Tolerant redo log write interrupt operation. */ /* For FAT 12, 16, 32, one cluster size is 1024 bytes; diff --git a/test/regression_test/filex_fault_tolerant_file_best_allocate_undo_log_interrupt_test.c b/test/regression_test/filex_fault_tolerant_file_best_allocate_undo_log_interrupt_test.c index 5666c42..d7c623a 100644 --- a/test/regression_test/filex_fault_tolerant_file_best_allocate_undo_log_interrupt_test.c +++ b/test/regression_test/filex_fault_tolerant_file_best_allocate_undo_log_interrupt_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 FileX test concentrates on the Fault-Tolerant undo log write interrupt operation. */ /* For FAT 12, 16, 32, one cluster size is 1024 bytes; diff --git a/test/regression_test/filex_fault_tolerant_file_best_effort_allocate_fat_crossover_test.c b/test/regression_test/filex_fault_tolerant_file_best_effort_allocate_fat_crossover_test.c index eedeee6..06f41d4 100644 --- a/test/regression_test/filex_fault_tolerant_file_best_effort_allocate_fat_crossover_test.c +++ b/test/regression_test/filex_fault_tolerant_file_best_effort_allocate_fat_crossover_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 FileX test concentrates on the bug as per * JIRA: https://expresslogic.atlassian.net/browse/FIL-4. * In fx_fault_tolerant_cleanup_FAT_chain.c, a group of the FAT entries are updated in the cache diff --git a/test/regression_test/filex_fault_tolerant_file_corruption_test.c b/test/regression_test/filex_fault_tolerant_file_corruption_test.c index e4aca2e..b0651e8 100644 --- a/test/regression_test/filex_fault_tolerant_file_corruption_test.c +++ b/test/regression_test/filex_fault_tolerant_file_corruption_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 case is design to reproduce file corruption bug. * https://expresslogic.zendesk.com/agent/tickets/1252 */ #include diff --git a/test/regression_test/filex_fault_tolerant_file_create_directory_interrupt_test.c b/test/regression_test/filex_fault_tolerant_file_create_directory_interrupt_test.c index 9948863..72f9bcf 100644 --- a/test/regression_test/filex_fault_tolerant_file_create_directory_interrupt_test.c +++ b/test/regression_test/filex_fault_tolerant_file_create_directory_interrupt_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 FileX test concentrates on the Fault-Tolerant directory write interrupt operation. */ /* For FAT 12, 16, 32, one cluster size is 1024 bytes; diff --git a/test/regression_test/filex_fault_tolerant_file_create_redo_log_interrupt_test.c b/test/regression_test/filex_fault_tolerant_file_create_redo_log_interrupt_test.c index f110410..55d2fbe 100644 --- a/test/regression_test/filex_fault_tolerant_file_create_redo_log_interrupt_test.c +++ b/test/regression_test/filex_fault_tolerant_file_create_redo_log_interrupt_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 FileX test concentrates on the Fault-Tolerant redo LOG write interrupt operation. */ /* For FAT 12, 16, 32, one cluster size is 1024 bytes; diff --git a/test/regression_test/filex_fault_tolerant_file_delete_directory_interrupt_test.c b/test/regression_test/filex_fault_tolerant_file_delete_directory_interrupt_test.c index 7e3cf0e..d0ad9c1 100644 --- a/test/regression_test/filex_fault_tolerant_file_delete_directory_interrupt_test.c +++ b/test/regression_test/filex_fault_tolerant_file_delete_directory_interrupt_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 FileX test concentrates on the Fault-Tolerant directory write interrupt operation. */ /* For FAT 12, 16, 32, one cluster size is 1024 bytes; diff --git a/test/regression_test/filex_fault_tolerant_file_delete_fat_interrupt_test.c b/test/regression_test/filex_fault_tolerant_file_delete_fat_interrupt_test.c index 57bfdaf..a5dad88 100644 --- a/test/regression_test/filex_fault_tolerant_file_delete_fat_interrupt_test.c +++ b/test/regression_test/filex_fault_tolerant_file_delete_fat_interrupt_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 FileX test concentrates on the Fault-Tolerant FAT write interrupt operation. */ /* For FAT 12, 16, 32, one cluster size is 1024 bytes; diff --git a/test/regression_test/filex_fault_tolerant_file_delete_fat_multiple_sectors_test.c b/test/regression_test/filex_fault_tolerant_file_delete_fat_multiple_sectors_test.c index c65062a..1a39503 100644 --- a/test/regression_test/filex_fault_tolerant_file_delete_fat_multiple_sectors_test.c +++ b/test/regression_test/filex_fault_tolerant_file_delete_fat_multiple_sectors_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 FileX test concentrates on the Fault-Tolerant FAT write interrupt operation. */ /* For FAT 12, one cluster size is 1024 bytes; diff --git a/test/regression_test/filex_fault_tolerant_file_delete_redo_log_interrupt_test.c b/test/regression_test/filex_fault_tolerant_file_delete_redo_log_interrupt_test.c index 2b3890d..32c4082 100644 --- a/test/regression_test/filex_fault_tolerant_file_delete_redo_log_interrupt_test.c +++ b/test/regression_test/filex_fault_tolerant_file_delete_redo_log_interrupt_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 FileX test concentrates on the Fault-Tolerant redo LOG write interrupt operation. */ /* For FAT 12, 16, 32, one cluster size is 1024 bytes; diff --git a/test/regression_test/filex_fault_tolerant_file_delete_test.c b/test/regression_test/filex_fault_tolerant_file_delete_test.c index 0ea965f..4e6bedd 100644 --- a/test/regression_test/filex_fault_tolerant_file_delete_test.c +++ b/test/regression_test/filex_fault_tolerant_file_delete_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 FileX test is determined to cover filex_fault_tolerant_file_delete */ diff --git a/test/regression_test/filex_fault_tolerant_file_delete_undo_log_interrupt_test.c b/test/regression_test/filex_fault_tolerant_file_delete_undo_log_interrupt_test.c index 049e0d1..7922395 100644 --- a/test/regression_test/filex_fault_tolerant_file_delete_undo_log_interrupt_test.c +++ b/test/regression_test/filex_fault_tolerant_file_delete_undo_log_interrupt_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 FileX test concentrates on the Fault-Tolerant undo LOG write interrupt operation. */ /* For FAT 12, 16, 32, one cluster size is 1024 bytes; diff --git a/test/regression_test/filex_fault_tolerant_file_random_seek_test.c b/test/regression_test/filex_fault_tolerant_file_random_seek_test.c index 6f7d8af..6c2bca1 100644 --- a/test/regression_test/filex_fault_tolerant_file_random_seek_test.c +++ b/test/regression_test/filex_fault_tolerant_file_random_seek_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 FileX test concentrates on the Fault-Tolerant file random seek operation. */ /* 1. Format and open the media; diff --git a/test/regression_test/filex_fault_tolerant_file_rename_directory_interrupt_test.c b/test/regression_test/filex_fault_tolerant_file_rename_directory_interrupt_test.c index ad3fb5d..3758252 100644 --- a/test/regression_test/filex_fault_tolerant_file_rename_directory_interrupt_test.c +++ b/test/regression_test/filex_fault_tolerant_file_rename_directory_interrupt_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 FileX test concentrates on the Fault-Tolerant directory write interrupt operation. */ /* For FAT 12, 16, 32, one cluster size is 1024 bytes; diff --git a/test/regression_test/filex_fault_tolerant_file_rename_redo_log_interrupt_test.c b/test/regression_test/filex_fault_tolerant_file_rename_redo_log_interrupt_test.c index e32f2d1..355a6cf 100644 --- a/test/regression_test/filex_fault_tolerant_file_rename_redo_log_interrupt_test.c +++ b/test/regression_test/filex_fault_tolerant_file_rename_redo_log_interrupt_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 FileX test concentrates on the Fault-Tolerant redo LOG write interrupt operation. */ /* For FAT 12, 16, 32, one cluster size is 1024 bytes; diff --git a/test/regression_test/filex_fault_tolerant_file_seek_test.c b/test/regression_test/filex_fault_tolerant_file_seek_test.c index 7232250..604ec3c 100644 --- a/test/regression_test/filex_fault_tolerant_file_seek_test.c +++ b/test/regression_test/filex_fault_tolerant_file_seek_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 FileX test concentrates on the Fault-Tolerant file seek operation. */ /* 1. Format and open the media; diff --git a/test/regression_test/filex_fault_tolerant_file_truncate_directory_interrupt_test.c b/test/regression_test/filex_fault_tolerant_file_truncate_directory_interrupt_test.c index 391186b..09ce594 100644 --- a/test/regression_test/filex_fault_tolerant_file_truncate_directory_interrupt_test.c +++ b/test/regression_test/filex_fault_tolerant_file_truncate_directory_interrupt_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 FileX test concentrates on the Fault-Tolerant directory write interrupt operation. */ /* For FAT 12, 16, 32, one cluster size is 1024 bytes; diff --git a/test/regression_test/filex_fault_tolerant_file_truncate_redo_log_interrupt_test.c b/test/regression_test/filex_fault_tolerant_file_truncate_redo_log_interrupt_test.c index e43ac16..4a478bc 100644 --- a/test/regression_test/filex_fault_tolerant_file_truncate_redo_log_interrupt_test.c +++ b/test/regression_test/filex_fault_tolerant_file_truncate_redo_log_interrupt_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 FileX test concentrates on the Fault-Tolerant redo log write interrupt operation. */ /* For FAT 12, 16, 32, one cluster size is 1024 bytes; diff --git a/test/regression_test/filex_fault_tolerant_file_truncate_release_available_test.c b/test/regression_test/filex_fault_tolerant_file_truncate_release_available_test.c index f626439..789ed49 100644 --- a/test/regression_test/filex_fault_tolerant_file_truncate_release_available_test.c +++ b/test/regression_test/filex_fault_tolerant_file_truncate_release_available_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 FileX test concentrates on the Fault-Tolerant truncate release operation. */ /* For FAT 12, 16, 32, one cluster size is 1024 bytes; diff --git a/test/regression_test/filex_fault_tolerant_file_truncate_release_directory_interrupt_test.c b/test/regression_test/filex_fault_tolerant_file_truncate_release_directory_interrupt_test.c index 40870a8..ac3a751 100644 --- a/test/regression_test/filex_fault_tolerant_file_truncate_release_directory_interrupt_test.c +++ b/test/regression_test/filex_fault_tolerant_file_truncate_release_directory_interrupt_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 FileX test concentrates on the Fault-Tolerant directory write interrupt operation. */ /* For FAT 12, 16, 32, one cluster size is 1024 bytes; diff --git a/test/regression_test/filex_fault_tolerant_file_truncate_release_fat_interrupt_test.c b/test/regression_test/filex_fault_tolerant_file_truncate_release_fat_interrupt_test.c index 7b60b68..32dd31f 100644 --- a/test/regression_test/filex_fault_tolerant_file_truncate_release_fat_interrupt_test.c +++ b/test/regression_test/filex_fault_tolerant_file_truncate_release_fat_interrupt_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 FileX test concentrates on the Fault-Tolerant FAT write interrupt operation. */ /* For FAT 12, 16, 32, one cluster size is 1024 bytes; diff --git a/test/regression_test/filex_fault_tolerant_file_truncate_release_redo_log_interrupt_test.c b/test/regression_test/filex_fault_tolerant_file_truncate_release_redo_log_interrupt_test.c index 8baa168..189678d 100644 --- a/test/regression_test/filex_fault_tolerant_file_truncate_release_redo_log_interrupt_test.c +++ b/test/regression_test/filex_fault_tolerant_file_truncate_release_redo_log_interrupt_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 FileX test concentrates on the Fault-Tolerant log write interrupt operation. */ /* For FAT 12, 16, 32, one cluster size is 1024 bytes; diff --git a/test/regression_test/filex_fault_tolerant_file_truncate_release_undo_log_interrupt_test.c b/test/regression_test/filex_fault_tolerant_file_truncate_release_undo_log_interrupt_test.c index 5243991..6acf5f6 100644 --- a/test/regression_test/filex_fault_tolerant_file_truncate_release_undo_log_interrupt_test.c +++ b/test/regression_test/filex_fault_tolerant_file_truncate_release_undo_log_interrupt_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 FileX test concentrates on the Fault-Tolerant undo log write interrupt operation. */ /* For FAT 12, 16, 32, one cluster size is 1024 bytes; diff --git a/test/regression_test/filex_fault_tolerant_file_write_available_test.c b/test/regression_test/filex_fault_tolerant_file_write_available_test.c index 33c0de4..3db8a6e 100644 --- a/test/regression_test/filex_fault_tolerant_file_write_available_test.c +++ b/test/regression_test/filex_fault_tolerant_file_write_available_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 FileX test concentrates on the Fault-Tolerant redo log write interrupt operation. * The available bytes before/after file write should be decreased write_buffer_size only. */ diff --git a/test/regression_test/filex_fault_tolerant_file_write_data_interrupt_test.c b/test/regression_test/filex_fault_tolerant_file_write_data_interrupt_test.c index 489361e..33c7972 100644 --- a/test/regression_test/filex_fault_tolerant_file_write_data_interrupt_test.c +++ b/test/regression_test/filex_fault_tolerant_file_write_data_interrupt_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 FileX test concentrates on the Fault-Tolerant data write interrupt operation. */ /* For FAT 12, 16, 32, one cluster size is 1024 bytes; diff --git a/test/regression_test/filex_fault_tolerant_file_write_directory_interrupt_test.c b/test/regression_test/filex_fault_tolerant_file_write_directory_interrupt_test.c index 3b36a5f..7a769e6 100644 --- a/test/regression_test/filex_fault_tolerant_file_write_directory_interrupt_test.c +++ b/test/regression_test/filex_fault_tolerant_file_write_directory_interrupt_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 FileX test concentrates on the Fault-Tolerant directory write interrupt operation. */ /* For FAT 12, 16, 32, one cluster size is 1024 bytes; diff --git a/test/regression_test/filex_fault_tolerant_file_write_fat_crossover_2_test.c b/test/regression_test/filex_fault_tolerant_file_write_fat_crossover_2_test.c index f80568e..db6267a 100644 --- a/test/regression_test/filex_fault_tolerant_file_write_fat_crossover_2_test.c +++ b/test/regression_test/filex_fault_tolerant_file_write_fat_crossover_2_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 FileX test concentrates on the bug as per * JIRA: https://expresslogic.atlassian.net/browse/FIL-4. * In fx_fault_tolerant_cleanup_FAT_chain.c, a group of the FAT entries are updated in the cache diff --git a/test/regression_test/filex_fault_tolerant_file_write_fat_crossover_test.c b/test/regression_test/filex_fault_tolerant_file_write_fat_crossover_test.c index f8966de..41df942 100644 --- a/test/regression_test/filex_fault_tolerant_file_write_fat_crossover_test.c +++ b/test/regression_test/filex_fault_tolerant_file_write_fat_crossover_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 FileX test concentrates on the bug as per * JIRA: https://expresslogic.atlassian.net/browse/FIL-4. * In fx_fault_tolerant_cleanup_FAT_chain.c, a group of the FAT entries are updated in the cache diff --git a/test/regression_test/filex_fault_tolerant_file_write_fat_interrupt_test.c b/test/regression_test/filex_fault_tolerant_file_write_fat_interrupt_test.c index ed56b03..8bc1a16 100644 --- a/test/regression_test/filex_fault_tolerant_file_write_fat_interrupt_test.c +++ b/test/regression_test/filex_fault_tolerant_file_write_fat_interrupt_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 FileX test concentrates on the Fault-Tolerant fat write interrupt operation. */ /* For FAT 12, 16, 32, one cluster size is 1024 bytes; diff --git a/test/regression_test/filex_fault_tolerant_file_write_redo_log_interrupt_test.c b/test/regression_test/filex_fault_tolerant_file_write_redo_log_interrupt_test.c index 62a1362..0b34ced 100644 --- a/test/regression_test/filex_fault_tolerant_file_write_redo_log_interrupt_test.c +++ b/test/regression_test/filex_fault_tolerant_file_write_redo_log_interrupt_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 FileX test concentrates on the Fault-Tolerant redo log write interrupt operation. */ /* For FAT 12, 16, 32, one cluster size is 1024 bytes; diff --git a/test/regression_test/filex_fault_tolerant_file_write_undo_log_interrupt_test.c b/test/regression_test/filex_fault_tolerant_file_write_undo_log_interrupt_test.c index 6230ab1..e68f921 100644 --- a/test/regression_test/filex_fault_tolerant_file_write_undo_log_interrupt_test.c +++ b/test/regression_test/filex_fault_tolerant_file_write_undo_log_interrupt_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 FileX test concentrates on the Fault-Tolerant undo log write interrupt operation. */ /* For FAT 12, 16, 32, one cluster size is 1024 bytes; diff --git a/test/regression_test/filex_fault_tolerant_log_full_test.c b/test/regression_test/filex_fault_tolerant_log_full_test.c index cea3c45..7a01c7b 100644 --- a/test/regression_test/filex_fault_tolerant_log_full_test.c +++ b/test/regression_test/filex_fault_tolerant_log_full_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 FileX test concentrates on the Fault-Tolerant redo log write interrupt operation. * The available bytes before/after file write should be decreased write_buffer_size only. */ diff --git a/test/regression_test/filex_fault_tolerant_log_recover_directory_test.c b/test/regression_test/filex_fault_tolerant_log_recover_directory_test.c index 8038a89..0658f45 100644 --- a/test/regression_test/filex_fault_tolerant_log_recover_directory_test.c +++ b/test/regression_test/filex_fault_tolerant_log_recover_directory_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 FileX test concentrates on the Fault-Tolerant log recover directory operation. */ /* For FAT 12, 16, 32, one cluster size is 1024 bytes; diff --git a/test/regression_test/filex_fault_tolerant_log_recover_fat_test.c b/test/regression_test/filex_fault_tolerant_log_recover_fat_test.c index e55fdc7..3d7bc81 100644 --- a/test/regression_test/filex_fault_tolerant_log_recover_fat_test.c +++ b/test/regression_test/filex_fault_tolerant_log_recover_fat_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 FileX test concentrates on the Fault-Tolerant log recover operation. */ /* For FAT 12, 16, 32, one cluster size is 1024 bytes; diff --git a/test/regression_test/filex_fault_tolerant_long_directory_create_directory_interrupt_test.c b/test/regression_test/filex_fault_tolerant_long_directory_create_directory_interrupt_test.c index 3c65f4c..5ce2b82 100644 --- a/test/regression_test/filex_fault_tolerant_long_directory_create_directory_interrupt_test.c +++ b/test/regression_test/filex_fault_tolerant_long_directory_create_directory_interrupt_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 FileX test concentrates on the Fault-Tolerant directory write interrupt operation. */ /* For FAT 12, 16, 32, one cluster size is 1024 bytes; diff --git a/test/regression_test/filex_fault_tolerant_long_directory_create_redo_log_interrupt_test.c b/test/regression_test/filex_fault_tolerant_long_directory_create_redo_log_interrupt_test.c index 871433e..71d550d 100644 --- a/test/regression_test/filex_fault_tolerant_long_directory_create_redo_log_interrupt_test.c +++ b/test/regression_test/filex_fault_tolerant_long_directory_create_redo_log_interrupt_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 FileX test concentrates on the Fault-Tolerant directory write interrupt operation. */ /* For FAT 12, 16, 32, one cluster size is 1024 bytes; diff --git a/test/regression_test/filex_fault_tolerant_long_directory_rename_directory_interrupt_test.c b/test/regression_test/filex_fault_tolerant_long_directory_rename_directory_interrupt_test.c index 2462455..7a95e87 100644 --- a/test/regression_test/filex_fault_tolerant_long_directory_rename_directory_interrupt_test.c +++ b/test/regression_test/filex_fault_tolerant_long_directory_rename_directory_interrupt_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 FileX test concentrates on the Fault-Tolerant directory write interrupt operation. */ /* For FAT 12, 16, 32, one cluster size is 3072 bytes; diff --git a/test/regression_test/filex_fault_tolerant_long_directory_rename_io_error_test.c b/test/regression_test/filex_fault_tolerant_long_directory_rename_io_error_test.c index 1b5e848..7d20174 100644 --- a/test/regression_test/filex_fault_tolerant_long_directory_rename_io_error_test.c +++ b/test/regression_test/filex_fault_tolerant_long_directory_rename_io_error_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 FileX test concentrates on the Fault-Tolerant directory write interrupt operation. */ /* For FAT 12, 16, 32, one cluster size is 3072 bytes; diff --git a/test/regression_test/filex_fault_tolerant_long_directory_rename_redo_log_interrupt_test.c b/test/regression_test/filex_fault_tolerant_long_directory_rename_redo_log_interrupt_test.c index eb14f5f..d33442f 100644 --- a/test/regression_test/filex_fault_tolerant_long_directory_rename_redo_log_interrupt_test.c +++ b/test/regression_test/filex_fault_tolerant_long_directory_rename_redo_log_interrupt_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 FileX test concentrates on the Fault-Tolerant redo log write interrupt operation. */ /* For FAT 12, 16, 32, one cluster size is 3072 bytes; diff --git a/test/regression_test/filex_fault_tolerant_long_file_create_directory_interrupt_test.c b/test/regression_test/filex_fault_tolerant_long_file_create_directory_interrupt_test.c index 7adcff0..3b82d25 100644 --- a/test/regression_test/filex_fault_tolerant_long_file_create_directory_interrupt_test.c +++ b/test/regression_test/filex_fault_tolerant_long_file_create_directory_interrupt_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 FileX test concentrates on the Fault-Tolerant directory write interrupt operation. */ /* For FAT 12, 16, 32, one cluster size is 1024 bytes; diff --git a/test/regression_test/filex_fault_tolerant_long_file_create_redo_log_interrupt_test.c b/test/regression_test/filex_fault_tolerant_long_file_create_redo_log_interrupt_test.c index 2a40e21..648541f 100644 --- a/test/regression_test/filex_fault_tolerant_long_file_create_redo_log_interrupt_test.c +++ b/test/regression_test/filex_fault_tolerant_long_file_create_redo_log_interrupt_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 FileX test concentrates on the Fault-Tolerant redo LOG write interrupt operation. */ /* For FAT 12, 16, 32, one cluster size is 1024 bytes; diff --git a/test/regression_test/filex_fault_tolerant_loop_write_data_test.c b/test/regression_test/filex_fault_tolerant_loop_write_data_test.c index 293bbca..5e89295 100644 --- a/test/regression_test/filex_fault_tolerant_loop_write_data_test.c +++ b/test/regression_test/filex_fault_tolerant_loop_write_data_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 FileX test concentrates on the Fault-Tolerant data loop write operation. */ /* For FAT 12, 16, 32, one cluster size is 1024 bytes; diff --git a/test/regression_test/filex_fault_tolerant_media_check_test.c b/test/regression_test/filex_fault_tolerant_media_check_test.c index 3fdb3ae..5d53e0c 100644 --- a/test/regression_test/filex_fault_tolerant_media_check_test.c +++ b/test/regression_test/filex_fault_tolerant_media_check_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 FileX test concentrates on the basic media check operation. */ #ifndef FX_STANDALONE_ENABLE diff --git a/test/regression_test/filex_fault_tolerant_media_full_test.c b/test/regression_test/filex_fault_tolerant_media_full_test.c index 25711a9..9c65b91 100644 --- a/test/regression_test/filex_fault_tolerant_media_full_test.c +++ b/test/regression_test/filex_fault_tolerant_media_full_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 FileX test concentrates on the Fault-Tolerant Media Full test. */ /* For FAT 12, 16, 32, one cluster size is 1024 bytes; diff --git a/test/regression_test/filex_fault_tolerant_recover_fail_test.c b/test/regression_test/filex_fault_tolerant_recover_fail_test.c index 879658b..5e18ee4 100644 --- a/test/regression_test/filex_fault_tolerant_recover_fail_test.c +++ b/test/regression_test/filex_fault_tolerant_recover_fail_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 */ +/***************************************************************************/ + #ifndef FX_STANDALONE_ENABLE #include "tx_api.h" #else diff --git a/test/regression_test/filex_fault_tolerant_unicode_directory_create_directory_interrupt_test.c b/test/regression_test/filex_fault_tolerant_unicode_directory_create_directory_interrupt_test.c index a2b769d..93aa524 100644 --- a/test/regression_test/filex_fault_tolerant_unicode_directory_create_directory_interrupt_test.c +++ b/test/regression_test/filex_fault_tolerant_unicode_directory_create_directory_interrupt_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 FileX test concentrates on the Fault-Tolerant directory write interrupt operation. */ /* For FAT 12, 16, 32, one cluster size is 1024 bytes; diff --git a/test/regression_test/filex_fault_tolerant_unicode_directory_create_redo_log_interrupt_test.c b/test/regression_test/filex_fault_tolerant_unicode_directory_create_redo_log_interrupt_test.c index fef8099..cae500c 100644 --- a/test/regression_test/filex_fault_tolerant_unicode_directory_create_redo_log_interrupt_test.c +++ b/test/regression_test/filex_fault_tolerant_unicode_directory_create_redo_log_interrupt_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 FileX test concentrates on the Fault-Tolerant directory write interrupt operation. */ /* For FAT 12, 16, 32, one cluster size is 1024 bytes; diff --git a/test/regression_test/filex_fault_tolerant_unicode_directory_rename_directory_interrupt_test.c b/test/regression_test/filex_fault_tolerant_unicode_directory_rename_directory_interrupt_test.c index 6184662..653d46e 100644 --- a/test/regression_test/filex_fault_tolerant_unicode_directory_rename_directory_interrupt_test.c +++ b/test/regression_test/filex_fault_tolerant_unicode_directory_rename_directory_interrupt_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 FileX test concentrates on the Fault-Tolerant directory write interrupt operation. */ /* For FAT 12, 16, 32, one cluster size is 1024 bytes; diff --git a/test/regression_test/filex_fault_tolerant_unicode_directory_rename_redo_log_interrupt_test.c b/test/regression_test/filex_fault_tolerant_unicode_directory_rename_redo_log_interrupt_test.c index efeece4..0b01a4a 100644 --- a/test/regression_test/filex_fault_tolerant_unicode_directory_rename_redo_log_interrupt_test.c +++ b/test/regression_test/filex_fault_tolerant_unicode_directory_rename_redo_log_interrupt_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 FileX test concentrates on the Fault-Tolerant directory write interrupt operation. */ /* For FAT 12, 16, 32, one cluster size is 1024 bytes; diff --git a/test/regression_test/filex_fault_tolerant_unicode_file_create_directory_interrupt_test.c b/test/regression_test/filex_fault_tolerant_unicode_file_create_directory_interrupt_test.c index 85a16d5..cb9542b 100644 --- a/test/regression_test/filex_fault_tolerant_unicode_file_create_directory_interrupt_test.c +++ b/test/regression_test/filex_fault_tolerant_unicode_file_create_directory_interrupt_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 FileX test concentrates on the Fault-Tolerant directory write interrupt operation. */ /* For FAT 12, 16, 32, one cluster size is 1024 bytes; diff --git a/test/regression_test/filex_fault_tolerant_unicode_file_create_redo_log_interrupt_test.c b/test/regression_test/filex_fault_tolerant_unicode_file_create_redo_log_interrupt_test.c index 39a5b0e..deb84ce 100644 --- a/test/regression_test/filex_fault_tolerant_unicode_file_create_redo_log_interrupt_test.c +++ b/test/regression_test/filex_fault_tolerant_unicode_file_create_redo_log_interrupt_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 FileX test concentrates on the Fault-Tolerant directory write interrupt operation. */ /* For FAT 12, 16, 32, one cluster size is 1024 bytes; diff --git a/test/regression_test/filex_fault_tolerant_unicode_file_rename_directory_interrupt_test.c b/test/regression_test/filex_fault_tolerant_unicode_file_rename_directory_interrupt_test.c index 6738450..ca61926 100644 --- a/test/regression_test/filex_fault_tolerant_unicode_file_rename_directory_interrupt_test.c +++ b/test/regression_test/filex_fault_tolerant_unicode_file_rename_directory_interrupt_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 FileX test concentrates on the Fault-Tolerant directory write interrupt operation. */ /* For FAT 12, 16, 32, one cluster size is 1024 bytes; diff --git a/test/regression_test/filex_fault_tolerant_unicode_file_rename_redo_log_interrupt_test.c b/test/regression_test/filex_fault_tolerant_unicode_file_rename_redo_log_interrupt_test.c index edbe607..69f72cd 100644 --- a/test/regression_test/filex_fault_tolerant_unicode_file_rename_redo_log_interrupt_test.c +++ b/test/regression_test/filex_fault_tolerant_unicode_file_rename_redo_log_interrupt_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 FileX test concentrates on the Fault-Tolerant directory write interrupt operation. */ /* For FAT 12, 16, 32, one cluster size is 1024 bytes; diff --git a/test/regression_test/filex_fault_tolerant_write_large_data_directory_interrupt_test.c b/test/regression_test/filex_fault_tolerant_write_large_data_directory_interrupt_test.c index fe5ebf5..e7f0d2a 100644 --- a/test/regression_test/filex_fault_tolerant_write_large_data_directory_interrupt_test.c +++ b/test/regression_test/filex_fault_tolerant_write_large_data_directory_interrupt_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 FileX test concentrates on the Fault-Tolerant write large data directory interrupt test. */ /* For FAT 12, 16, 32, one cluster size is 1024 bytes; diff --git a/test/regression_test/filex_fault_tolerant_write_large_data_fat_chain_cleanup_interrupt_test.c b/test/regression_test/filex_fault_tolerant_write_large_data_fat_chain_cleanup_interrupt_test.c index 5c367f3..c5e92dd 100644 --- a/test/regression_test/filex_fault_tolerant_write_large_data_fat_chain_cleanup_interrupt_test.c +++ b/test/regression_test/filex_fault_tolerant_write_large_data_fat_chain_cleanup_interrupt_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 FileX test concentrates on the Fault-Tolerant write large data fat interrupt test. */ /* For FAT 12, 16, 32, one cluster size is 1024 bytes; diff --git a/test/regression_test/filex_fault_tolerant_write_large_data_fat_interrupt_test.c b/test/regression_test/filex_fault_tolerant_write_large_data_fat_interrupt_test.c index 50aa930..3243237 100644 --- a/test/regression_test/filex_fault_tolerant_write_large_data_fat_interrupt_test.c +++ b/test/regression_test/filex_fault_tolerant_write_large_data_fat_interrupt_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 FileX test concentrates on the Fault-Tolerant write large data fat interrupt test. */ /* For FAT 12, 16, 32, one cluster size is 1024 bytes; diff --git a/test/regression_test/filex_fault_tolerant_write_large_data_interrupt_test.c b/test/regression_test/filex_fault_tolerant_write_large_data_interrupt_test.c index b60f825..35d9015 100644 --- a/test/regression_test/filex_fault_tolerant_write_large_data_interrupt_test.c +++ b/test/regression_test/filex_fault_tolerant_write_large_data_interrupt_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 FileX test concentrates on the Fault-Tolerant write large data interrupt test. */ /* For FAT 12, 16, 32, one cluster size is 1024 bytes; diff --git a/test/regression_test/filex_fault_tolerant_write_large_data_redo_log_interrupt_test.c b/test/regression_test/filex_fault_tolerant_write_large_data_redo_log_interrupt_test.c index 77efe74..136f3ad 100644 --- a/test/regression_test/filex_fault_tolerant_write_large_data_redo_log_interrupt_test.c +++ b/test/regression_test/filex_fault_tolerant_write_large_data_redo_log_interrupt_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 FileX test concentrates on the Fault-Tolerant write large data redo log interrupt test. */ /* For FAT 12, 16, 32, one cluster size is 1024 bytes; diff --git a/test/regression_test/filex_fault_tolerant_write_large_data_test.c b/test/regression_test/filex_fault_tolerant_write_large_data_test.c index 36a3d29..9541902 100644 --- a/test/regression_test/filex_fault_tolerant_write_large_data_test.c +++ b/test/regression_test/filex_fault_tolerant_write_large_data_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 FileX test concentrates on the Fault-Tolerant write large data test. */ /* For FAT 12, 16, 32, one cluster size is 1024 bytes; diff --git a/test/regression_test/filex_fault_tolerant_write_large_data_undo_log_interrupt_test.c b/test/regression_test/filex_fault_tolerant_write_large_data_undo_log_interrupt_test.c index abcaa17..f858fe2 100644 --- a/test/regression_test/filex_fault_tolerant_write_large_data_undo_log_interrupt_test.c +++ b/test/regression_test/filex_fault_tolerant_write_large_data_undo_log_interrupt_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 FileX test concentrates on the Fault-Tolerant write large data undo log interrupt test. */ /* For FAT 12, 16, 32, one cluster size is 1024 bytes; diff --git a/test/regression_test/filex_file_allocate_test.c b/test/regression_test/filex_file_allocate_test.c index 10e047d..d5a4761 100644 --- a/test/regression_test/filex_file_allocate_test.c +++ b/test/regression_test/filex_file_allocate_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 FileX test concentrates on the file allocate test. */ /* Test steps: diff --git a/test/regression_test/filex_file_allocate_truncate_test.c b/test/regression_test/filex_file_allocate_truncate_test.c index 8354f2f..918abfd 100644 --- a/test/regression_test/filex_file_allocate_truncate_test.c +++ b/test/regression_test/filex_file_allocate_truncate_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 FileX test concentrates on the file allocate/truncate operation. */ #ifndef FX_STANDALONE_ENABLE diff --git a/test/regression_test/filex_file_attributes_read_set_test.c b/test/regression_test/filex_file_attributes_read_set_test.c index a828617..f9665a1 100644 --- a/test/regression_test/filex_file_attributes_read_set_test.c +++ b/test/regression_test/filex_file_attributes_read_set_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 FileX test concentrates on the file attributes read/set operation. */ #ifndef FX_STANDALONE_ENABLE diff --git a/test/regression_test/filex_file_create_delete_test.c b/test/regression_test/filex_file_create_delete_test.c index ac4fcac..d296ba4 100644 --- a/test/regression_test/filex_file_create_delete_test.c +++ b/test/regression_test/filex_file_create_delete_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 FileX test concentrates on the file create/delete operations. */ #ifndef FX_STANDALONE_ENABLE diff --git a/test/regression_test/filex_file_date_time_set_test.c b/test/regression_test/filex_file_date_time_set_test.c index eb1b781..4985f82 100644 --- a/test/regression_test/filex_file_date_time_set_test.c +++ b/test/regression_test/filex_file_date_time_set_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 FileX test concentrates on the file date/time set operation. */ #ifndef FX_STANDALONE_ENABLE diff --git a/test/regression_test/filex_file_name_test.c b/test/regression_test/filex_file_name_test.c index 1569221..800236e 100644 --- a/test/regression_test/filex_file_name_test.c +++ b/test/regression_test/filex_file_name_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 FileX test concentrates on the lowercase is not allowed in 8.3 name. */ #ifndef FX_STANDALONE_ENABLE diff --git a/test/regression_test/filex_file_naming_test.c b/test/regression_test/filex_file_naming_test.c index 5f307a4..c0ebfa4 100644 --- a/test/regression_test/filex_file_naming_test.c +++ b/test/regression_test/filex_file_naming_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 FileX test concentrates on the basic file naming operations. */ #ifndef FX_STANDALONE_ENABLE diff --git a/test/regression_test/filex_file_read_write_test.c b/test/regression_test/filex_file_read_write_test.c index 2be90b1..9646eed 100644 --- a/test/regression_test/filex_file_read_write_test.c +++ b/test/regression_test/filex_file_read_write_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 FileX test concentrates on the file read/write operation. */ #ifndef FX_STANDALONE_ENABLE diff --git a/test/regression_test/filex_file_rename_test.c b/test/regression_test/filex_file_rename_test.c index 39ffa99..c6c104e 100644 --- a/test/regression_test/filex_file_rename_test.c +++ b/test/regression_test/filex_file_rename_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 FileX test concentrates on the file rename operations. */ #ifndef FX_STANDALONE_ENABLE diff --git a/test/regression_test/filex_file_seek_test.c b/test/regression_test/filex_file_seek_test.c index f09ecae..92c6963 100644 --- a/test/regression_test/filex_file_seek_test.c +++ b/test/regression_test/filex_file_seek_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 FileX test concentrates on the file seek operation. */ #ifndef FX_STANDALONE_ENABLE diff --git a/test/regression_test/filex_file_write_available_cluster_test.c b/test/regression_test/filex_file_write_available_cluster_test.c index caaa511..a93954e 100644 --- a/test/regression_test/filex_file_write_available_cluster_test.c +++ b/test/regression_test/filex_file_write_available_cluster_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 FileX test concentrates on the available clusters after file seek and write operation. */ /* A fix-me is in this file. */ diff --git a/test/regression_test/filex_file_write_notify_test.c b/test/regression_test/filex_file_write_notify_test.c index 067d893..e63c823 100644 --- a/test/regression_test/filex_file_write_notify_test.c +++ b/test/regression_test/filex_file_write_notify_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 FileX test concentrates on the file write and file notify operation. */ #ifndef FX_STANDALONE_ENABLE diff --git a/test/regression_test/filex_file_write_seek_test.c b/test/regression_test/filex_file_write_seek_test.c index 0590b4a..e880c4e 100644 --- a/test/regression_test/filex_file_write_seek_test.c +++ b/test/regression_test/filex_file_write_seek_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 FileX test concentrates on the file seek and write operation. */ #ifndef FX_STANDALONE_ENABLE diff --git a/test/regression_test/filex_media_abort_test.c b/test/regression_test/filex_media_abort_test.c index 6abe0c7..63c5336 100644 --- a/test/regression_test/filex_media_abort_test.c +++ b/test/regression_test/filex_media_abort_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 FileX test concentrates on the basic media abort operation. */ #ifndef FX_STANDALONE_ENABLE diff --git a/test/regression_test/filex_media_cache_invalidate_test.c b/test/regression_test/filex_media_cache_invalidate_test.c index c9f0573..67723ee 100644 --- a/test/regression_test/filex_media_cache_invalidate_test.c +++ b/test/regression_test/filex_media_cache_invalidate_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 FileX test concentrates on the media cache invalidate operation. */ #ifndef FX_STANDALONE_ENABLE diff --git a/test/regression_test/filex_media_check_test.c b/test/regression_test/filex_media_check_test.c index 567c1db..58fb797 100644 --- a/test/regression_test/filex_media_check_test.c +++ b/test/regression_test/filex_media_check_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 FileX test concentrates on the basic media check operation. */ #ifndef FX_STANDALONE_ENABLE diff --git a/test/regression_test/filex_media_flush_test.c b/test/regression_test/filex_media_flush_test.c index 6293f4b..6b4e6d9 100644 --- a/test/regression_test/filex_media_flush_test.c +++ b/test/regression_test/filex_media_flush_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 FileX test concentrates on the media flush operation. */ #ifndef FX_STANDALONE_ENABLE diff --git a/test/regression_test/filex_media_format_open_close_test.c b/test/regression_test/filex_media_format_open_close_test.c index e8967ab..3b663e1 100644 --- a/test/regression_test/filex_media_format_open_close_test.c +++ b/test/regression_test/filex_media_format_open_close_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 FileX test concentrates on the basic media format, open, close operation. */ #ifndef FX_STANDALONE_ENABLE diff --git a/test/regression_test/filex_media_hidden_sectors_test.c b/test/regression_test/filex_media_hidden_sectors_test.c index ab7eed8..86c96d7 100644 --- a/test/regression_test/filex_media_hidden_sectors_test.c +++ b/test/regression_test/filex_media_hidden_sectors_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 FileX test concentrates on the media with hidden sectors. */ #include "fx_api.h" diff --git a/test/regression_test/filex_media_multiple_open_close_test.c b/test/regression_test/filex_media_multiple_open_close_test.c index 9ec0267..2e29dd1 100644 --- a/test/regression_test/filex_media_multiple_open_close_test.c +++ b/test/regression_test/filex_media_multiple_open_close_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 FileX test concentrates on the basic media format, open, close operation. */ #ifndef FX_STANDALONE_ENABLE diff --git a/test/regression_test/filex_media_read_write_sector_test.c b/test/regression_test/filex_media_read_write_sector_test.c index 86f1f0a..196e3e6 100644 --- a/test/regression_test/filex_media_read_write_sector_test.c +++ b/test/regression_test/filex_media_read_write_sector_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 FileX test concentrates on the basic media read/write sector operation. */ /* While FX_FAULT_TOLERANT is not defined, fx_utility_logical_sector_write will not cache other types of sectors but FX_DATA_SECTOR. */ diff --git a/test/regression_test/filex_media_volume_directory_entry_test.c b/test/regression_test/filex_media_volume_directory_entry_test.c index 95c31fb..65d0330 100644 --- a/test/regression_test/filex_media_volume_directory_entry_test.c +++ b/test/regression_test/filex_media_volume_directory_entry_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 */ +/***************************************************************************/ + #ifndef FX_STANDALONE_ENABLE #include "tx_api.h" #include "tx_thread.h" diff --git a/test/regression_test/filex_media_volume_get_set_test.c b/test/regression_test/filex_media_volume_get_set_test.c index d950578..64b69be 100644 --- a/test/regression_test/filex_media_volume_get_set_test.c +++ b/test/regression_test/filex_media_volume_get_set_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 FileX test concentrates on the basic media volume get/set operation. */ #ifndef FX_STANDALONE_ENABLE diff --git a/test/regression_test/filex_system_date_time_test.c b/test/regression_test/filex_system_date_time_test.c index 1ce0fb1..307f55e 100644 --- a/test/regression_test/filex_system_date_time_test.c +++ b/test/regression_test/filex_system_date_time_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 FileX test concentrates on the system date/time set/get operations. */ #ifndef FX_STANDALONE_ENABLE diff --git a/test/regression_test/filex_unicode_2_test.c b/test/regression_test/filex_unicode_2_test.c index b218afa..20b0efe 100644 --- a/test/regression_test/filex_unicode_2_test.c +++ b/test/regression_test/filex_unicode_2_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 */ +/***************************************************************************/ + /* Test the condition of fat entry broken. */ #ifndef FX_STANDALONE_ENABLE #include "tx_api.h" diff --git a/test/regression_test/filex_unicode_3_test.c b/test/regression_test/filex_unicode_3_test.c index 56d6ff7..d1f6bdc 100644 --- a/test/regression_test/filex_unicode_3_test.c +++ b/test/regression_test/filex_unicode_3_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 */ +/***************************************************************************/ + #ifndef FX_STANDALONE_ENABLE #include "tx_api.h" #endif diff --git a/test/regression_test/filex_unicode_4_test.c b/test/regression_test/filex_unicode_4_test.c index bdc2f66..d0bb133 100644 --- a/test/regression_test/filex_unicode_4_test.c +++ b/test/regression_test/filex_unicode_4_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 */ +/***************************************************************************/ + #ifndef FX_STANDALONE_ENABLE #include "tx_api.h" #include "tx_thread.h" diff --git a/test/regression_test/filex_unicode_directory_entry_2_test.c b/test/regression_test/filex_unicode_directory_entry_2_test.c index 4e3e97a..dd71e78 100644 --- a/test/regression_test/filex_unicode_directory_entry_2_test.c +++ b/test/regression_test/filex_unicode_directory_entry_2_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 */ +/***************************************************************************/ + /* Test the condition of fat entry broken. */ #ifndef FX_STANDALONE_ENABLE #include "tx_api.h" diff --git a/test/regression_test/filex_unicode_directory_entry_change_test.c b/test/regression_test/filex_unicode_directory_entry_change_test.c index 23df71f..2fcc083 100644 --- a/test/regression_test/filex_unicode_directory_entry_change_test.c +++ b/test/regression_test/filex_unicode_directory_entry_change_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 is determined to cover lines 315 327 352 390 in fx_unicode_directory_entry_change.c. */ #ifndef FX_STANDALONE_ENABLE diff --git a/test/regression_test/filex_unicode_directory_entry_test.c b/test/regression_test/filex_unicode_directory_entry_test.c index a9b3f85..2967442 100644 --- a/test/regression_test/filex_unicode_directory_entry_test.c +++ b/test/regression_test/filex_unicode_directory_entry_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 is determined to cover lines in fx_unicode_directory_entry_read.c. */ /* We need a dir_entry whose first byte, ordinal number byte, is big enoutgh to exceed the the */ /* limit of FX_MAX_LONG_NAME_LEN, so we created a disk with a corrupt dir_entry. */ diff --git a/test/regression_test/filex_unicode_directory_rename_test.c b/test/regression_test/filex_unicode_directory_rename_test.c index 245881e..16bdb2d 100644 --- a/test/regression_test/filex_unicode_directory_rename_test.c +++ b/test/regression_test/filex_unicode_directory_rename_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 FileX test concentrates on the directory rename operations. */ #ifndef FX_STANDALONE_ENABLE diff --git a/test/regression_test/filex_unicode_fat_entry_1_test.c b/test/regression_test/filex_unicode_fat_entry_1_test.c index 7737696..c98da14 100644 --- a/test/regression_test/filex_unicode_fat_entry_1_test.c +++ b/test/regression_test/filex_unicode_fat_entry_1_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 */ +/***************************************************************************/ + /* Test the condition of fat entry broken. */ #include "fx_api.h" #include "fx_ram_driver_test.h" diff --git a/test/regression_test/filex_unicode_fat_entry_2_test.c b/test/regression_test/filex_unicode_fat_entry_2_test.c index c4fab8c..0992119 100644 --- a/test/regression_test/filex_unicode_fat_entry_2_test.c +++ b/test/regression_test/filex_unicode_fat_entry_2_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 is determined to cover lines in fx_unicode_directory_entry_read.c. */ /* We need a dir_entry whose first byte, ordinal number byte, is big enoutgh to exceed the the */ /* limit of FX_MAX_LONG_NAME_LEN, so we created a disk with a corrupt dir_entry. */ diff --git a/test/regression_test/filex_unicode_fat_entry_3_test.c b/test/regression_test/filex_unicode_fat_entry_3_test.c index 2287657..356b571 100644 --- a/test/regression_test/filex_unicode_fat_entry_3_test.c +++ b/test/regression_test/filex_unicode_fat_entry_3_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 */ +/***************************************************************************/ + /* Test the condition of fat entry broken. */ #ifndef FX_STANDALONE_ENABLE #include "tx_api.h" diff --git a/test/regression_test/filex_unicode_fat_entry_test.c b/test/regression_test/filex_unicode_fat_entry_test.c index 0cf418f..352c005 100644 --- a/test/regression_test/filex_unicode_fat_entry_test.c +++ b/test/regression_test/filex_unicode_fat_entry_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 */ +/***************************************************************************/ + /* Test the condition of fat entry broken. */ #include "fx_api.h" #include "fx_ram_driver_test.h" diff --git a/test/regression_test/filex_unicode_file_directory_rename_extra_2_test.c b/test/regression_test/filex_unicode_file_directory_rename_extra_2_test.c index 72c2515..769373f 100644 --- a/test/regression_test/filex_unicode_file_directory_rename_extra_2_test.c +++ b/test/regression_test/filex_unicode_file_directory_rename_extra_2_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 */ +/***************************************************************************/ + /* Test the condition of fat entry broken. */ #ifndef FX_STANDALONE_ENABLE #include "tx_api.h" diff --git a/test/regression_test/filex_unicode_file_directory_rename_extra_test.c b/test/regression_test/filex_unicode_file_directory_rename_extra_test.c index 5ea2279..9bce502 100644 --- a/test/regression_test/filex_unicode_file_directory_rename_extra_test.c +++ b/test/regression_test/filex_unicode_file_directory_rename_extra_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 */ +/***************************************************************************/ + /* Test the condition of fat entry broken. */ #ifndef FX_STANDALONE_ENABLE #include "tx_api.h" diff --git a/test/regression_test/filex_unicode_file_rename_test.c b/test/regression_test/filex_unicode_file_rename_test.c index 064e759..74f27da 100644 --- a/test/regression_test/filex_unicode_file_rename_test.c +++ b/test/regression_test/filex_unicode_file_rename_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 FileX test concentrates on the unicode file rename operations. */ #ifndef FX_STANDALONE_ENABLE diff --git a/test/regression_test/filex_unicode_name_string_test.c b/test/regression_test/filex_unicode_name_string_test.c index 60e49c3..fb04ce0 100644 --- a/test/regression_test/filex_unicode_name_string_test.c +++ b/test/regression_test/filex_unicode_name_string_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 FileX test concentrates on the unicode operations. */ #ifndef FX_STANDALONE_ENABLE diff --git a/test/regression_test/filex_unicode_test.c b/test/regression_test/filex_unicode_test.c index 7363228..ecc44a7 100644 --- a/test/regression_test/filex_unicode_test.c +++ b/test/regression_test/filex_unicode_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 FileX test concentrates on the unicode operations. */ #ifndef FX_STANDALONE_ENABLE diff --git a/test/regression_test/filex_utility_fat_flush_test.c b/test/regression_test/filex_utility_fat_flush_test.c index 3e3f1bb..8799ac8 100644 --- a/test/regression_test/filex_utility_fat_flush_test.c +++ b/test/regression_test/filex_utility_fat_flush_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 FileX test concentrates on the utility FAT flush operation. */ #ifndef FX_STANDALONE_ENABLE diff --git a/test/regression_test/filex_utility_test.c b/test/regression_test/filex_utility_test.c index eac26f6..9ab0451 100644 --- a/test/regression_test/filex_utility_test.c +++ b/test/regression_test/filex_utility_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 FileX test concentrates on the utility APIs. */ #include "fx_api.h" diff --git a/test/regression_test/filextestcontrol.c b/test/regression_test/filextestcontrol.c index e34d7ba..d8e6122 100644 --- a/test/regression_test/filextestcontrol.c +++ b/test/regression_test/filextestcontrol.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 is the test control routine for the FileX FAT file system. All tests are dispatched from this routine. */ #ifndef FX_STANDALONE_ENABLE diff --git a/test/regression_test/fx_ram_driver_test.h b/test/regression_test/fx_ram_driver_test.h index af116a5..df9e610 100644 --- a/test/regression_test/fx_ram_driver_test.h +++ b/test/regression_test/fx_ram_driver_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 _FX_RAM_DRIVER_TEST_H_ #define _FX_RAM_DRIVER_TEST_H_