From 24314434a8344d811d8ed7329205afd3a33ba56e Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 8 Aug 2025 16:12:00 -0500 Subject: [PATCH] testsuites/*: Move SPDX line to top of file The RTEMS Software Engineering Guide specifies that the SPDX license annotation shouldbe the first line of the file and not part of the copyright/license comment block. --- testsuites/libtests/flashdev01/init.c | 4 ++-- testsuites/libtests/record01/init.c | 4 ++-- testsuites/libtests/ttest01/init.c | 4 ++-- testsuites/libtests/ttest01/t-self-test.h | 4 ++-- testsuites/psxtests/psxfenv01/init.c | 4 ++-- testsuites/psxtests/psxftw01/init.c | 4 ++-- testsuites/psxtests/psxinttypes01/init.c | 4 ++-- testsuites/psxtests/psxndbm01/init.c | 4 ++-- testsuites/psxtests/psxsignal07/main.c | 4 ++-- testsuites/psxtests/psxsignal07/rtems_config.c | 4 ++-- testsuites/psxtests/psxsignal08/main.c | 4 ++-- testsuites/psxtests/psxsignal08/rtems_config.c | 4 ++-- testsuites/psxtmtests/psxtmbarrierattr01/init.c | 4 ++-- .../psxtmtests/psxtmbarrierattr01/psxtmbarrierattr01.doc | 4 ++-- testsuites/psxtmtests/psxtmcleanup01/init.c | 4 ++-- testsuites/psxtmtests/psxtmcleanup01/psxtmcleanup01.doc | 4 ++-- testsuites/psxtmtests/psxtmmqrcvblock02/init.c | 4 ++-- testsuites/psxtmtests/psxtmmqrcvblock02/psxtmmqrcvblock02.doc | 4 ++-- testsuites/psxtmtests/psxtmmutexattr01/init.c | 4 ++-- testsuites/psxtmtests/psxtmmutexattr01/psxtmmutexattr01.doc | 4 ++-- testsuites/psxtmtests/psxtmonce01/init.c | 4 ++-- testsuites/psxtmtests/psxtmonce01/psxtmonce01.doc | 4 ++-- testsuites/smptests/smpfatal09/init.c | 4 ++-- testsuites/smptests/smpmulticast01/init.c | 4 ++-- testsuites/sptests/spcxx01/init.cc | 4 ++-- testsuites/sptests/spntp01/init.c | 4 ++-- testsuites/sptests/sppps01/init.c | 4 ++-- testsuites/sptests/spstdc17/init.c | 4 ++-- testsuites/sptests/sptree01/sys/tree.h | 4 ++-- testsuites/sptests/spunlimited01/init.c | 4 ++-- 30 files changed, 60 insertions(+), 60 deletions(-) diff --git a/testsuites/libtests/flashdev01/init.c b/testsuites/libtests/flashdev01/init.c index 3a77afb4e2..54b6290e01 100644 --- a/testsuites/libtests/flashdev01/init.c +++ b/testsuites/libtests/flashdev01/init.c @@ -1,6 +1,6 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright (C) 2023 Aaron Nyholm * * Redistribution and use in source and binary forms, with or without diff --git a/testsuites/libtests/record01/init.c b/testsuites/libtests/record01/init.c index 05ad51eeb2..923385e965 100644 --- a/testsuites/libtests/record01/init.c +++ b/testsuites/libtests/record01/init.c @@ -1,6 +1,6 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright (C) 2018, 2019 embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without diff --git a/testsuites/libtests/ttest01/init.c b/testsuites/libtests/ttest01/init.c index 433bc0581b..6f35072375 100644 --- a/testsuites/libtests/ttest01/init.c +++ b/testsuites/libtests/ttest01/init.c @@ -1,6 +1,6 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright (C) 2018, 2019 embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without diff --git a/testsuites/libtests/ttest01/t-self-test.h b/testsuites/libtests/ttest01/t-self-test.h index d2767d5e70..d5ddde3408 100644 --- a/testsuites/libtests/ttest01/t-self-test.h +++ b/testsuites/libtests/ttest01/t-self-test.h @@ -1,6 +1,6 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright (C) 2019 embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without diff --git a/testsuites/psxtests/psxfenv01/init.c b/testsuites/psxtests/psxfenv01/init.c index c83eb49144..f671ca146a 100644 --- a/testsuites/psxtests/psxfenv01/init.c +++ b/testsuites/psxtests/psxfenv01/init.c @@ -1,11 +1,11 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /* * @file * @brief Test suite for fenv.h methods */ /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright (C) 2020 Eshan Dhawan * Copyright (C) 2019 Vaibhav Gupta * diff --git a/testsuites/psxtests/psxftw01/init.c b/testsuites/psxtests/psxftw01/init.c index 5bd89928d1..9d54e58179 100644 --- a/testsuites/psxtests/psxftw01/init.c +++ b/testsuites/psxtests/psxftw01/init.c @@ -1,11 +1,11 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /* * @file * @brief Test suite for ftw.h methods */ /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright (C) 2020 Eshan Dhawan, embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without diff --git a/testsuites/psxtests/psxinttypes01/init.c b/testsuites/psxtests/psxinttypes01/init.c index d17ad5bda3..4cdabb0ec1 100644 --- a/testsuites/psxtests/psxinttypes01/init.c +++ b/testsuites/psxtests/psxinttypes01/init.c @@ -1,11 +1,11 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /** * @file * @brief Test suite for inttypes.h methods */ /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright (C) 2020, Eshan Dhawan * Copyright (C) 2019, Aditya Upadhyay and Vaibhav Gupta * diff --git a/testsuites/psxtests/psxndbm01/init.c b/testsuites/psxtests/psxndbm01/init.c index cc95684622..bfd02726bb 100644 --- a/testsuites/psxtests/psxndbm01/init.c +++ b/testsuites/psxtests/psxndbm01/init.c @@ -1,11 +1,11 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /** * @file * @brief Test suite for ndbm.h methods */ /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright (C) 2019 Vaibhav Gupta * * Redistribution and use in source and binary forms, with or without diff --git a/testsuites/psxtests/psxsignal07/main.c b/testsuites/psxtests/psxsignal07/main.c index 52b21751c8..372ec68a59 100644 --- a/testsuites/psxtests/psxsignal07/main.c +++ b/testsuites/psxtests/psxsignal07/main.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /* * @brief psxsignal07 - Ensure initial signal mask and thread inheritance */ @@ -6,8 +8,6 @@ * COPYRIGHT (c) 2019. * On-Line Applications Research Corporation (OAR). * - * SPDX-License-Identifier: BSD-2-Clause - */ #ifdef HAVE_CONFIG_H #include "config.h" diff --git a/testsuites/psxtests/psxsignal07/rtems_config.c b/testsuites/psxtests/psxsignal07/rtems_config.c index e3f3349640..636888b28a 100644 --- a/testsuites/psxtests/psxsignal07/rtems_config.c +++ b/testsuites/psxtests/psxsignal07/rtems_config.c @@ -1,9 +1,9 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /* * COPYRIGHT (c) 2019. * On-Line Applications Research Corporation (OAR). * - * SPDX-License-Identifier: BSD-2-Clause - */ #include diff --git a/testsuites/psxtests/psxsignal08/main.c b/testsuites/psxtests/psxsignal08/main.c index c55a7712b9..f6fcc36b3f 100644 --- a/testsuites/psxtests/psxsignal08/main.c +++ b/testsuites/psxtests/psxsignal08/main.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /* * @brief psxsignal08 - Ensure initial signal mask and Classic Task inheritance */ @@ -6,8 +8,6 @@ * COPYRIGHT (c) 2019. * On-Line Applications Research Corporation (OAR). * - * SPDX-License-Identifier: BSD-2-Clause - */ #ifdef HAVE_CONFIG_H diff --git a/testsuites/psxtests/psxsignal08/rtems_config.c b/testsuites/psxtests/psxsignal08/rtems_config.c index f56e88c8be..a46a0d8417 100644 --- a/testsuites/psxtests/psxsignal08/rtems_config.c +++ b/testsuites/psxtests/psxsignal08/rtems_config.c @@ -1,9 +1,9 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /* * COPYRIGHT (c) 2019. * On-Line Applications Research Corporation (OAR). * - * SPDX-License-Identifier: BSD-2-Clause - */ #include #include diff --git a/testsuites/psxtmtests/psxtmbarrierattr01/init.c b/testsuites/psxtmtests/psxtmbarrierattr01/init.c index 2e7429a720..aba8d2e858 100644 --- a/testsuites/psxtmtests/psxtmbarrierattr01/init.c +++ b/testsuites/psxtmtests/psxtmbarrierattr01/init.c @@ -1,6 +1,6 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright (C) 2018, Himanshu Sekhar Nayak * * Redistribution and use in source and binary forms, with or without diff --git a/testsuites/psxtmtests/psxtmbarrierattr01/psxtmbarrierattr01.doc b/testsuites/psxtmtests/psxtmbarrierattr01/psxtmbarrierattr01.doc index 55498c15f5..f5e26b7734 100644 --- a/testsuites/psxtmtests/psxtmbarrierattr01/psxtmbarrierattr01.doc +++ b/testsuites/psxtmtests/psxtmbarrierattr01/psxtmbarrierattr01.doc @@ -1,6 +1,6 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright (C) 2018, Himanshu Sekhar Nayak * * Redistribution and use in source and binary forms, with or without diff --git a/testsuites/psxtmtests/psxtmcleanup01/init.c b/testsuites/psxtmtests/psxtmcleanup01/init.c index 3bac0d909b..61ed491f39 100644 --- a/testsuites/psxtmtests/psxtmcleanup01/init.c +++ b/testsuites/psxtmtests/psxtmcleanup01/init.c @@ -1,6 +1,6 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright (C) 2018, Himanshu Sekhar Nayak * * Redistribution and use in source and binary forms, with or without diff --git a/testsuites/psxtmtests/psxtmcleanup01/psxtmcleanup01.doc b/testsuites/psxtmtests/psxtmcleanup01/psxtmcleanup01.doc index e7e87112dc..ccc72530d0 100644 --- a/testsuites/psxtmtests/psxtmcleanup01/psxtmcleanup01.doc +++ b/testsuites/psxtmtests/psxtmcleanup01/psxtmcleanup01.doc @@ -1,6 +1,6 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright (C) 2018, Himanshu Sekhar Nayak * * Redistribution and use in source and binary forms, with or without diff --git a/testsuites/psxtmtests/psxtmmqrcvblock02/init.c b/testsuites/psxtmtests/psxtmmqrcvblock02/init.c index c655e3326b..739032c597 100644 --- a/testsuites/psxtmtests/psxtmmqrcvblock02/init.c +++ b/testsuites/psxtmtests/psxtmmqrcvblock02/init.c @@ -1,6 +1,6 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright (C) 2018, Himanshu Sekhar Nayak * * Redistribution and use in source and binary forms, with or without diff --git a/testsuites/psxtmtests/psxtmmqrcvblock02/psxtmmqrcvblock02.doc b/testsuites/psxtmtests/psxtmmqrcvblock02/psxtmmqrcvblock02.doc index 5f648f012b..979bd84262 100644 --- a/testsuites/psxtmtests/psxtmmqrcvblock02/psxtmmqrcvblock02.doc +++ b/testsuites/psxtmtests/psxtmmqrcvblock02/psxtmmqrcvblock02.doc @@ -1,6 +1,6 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright (C) 2018, Himanshu Sekhar Nayak * * Redistribution and use in source and binary forms, with or without diff --git a/testsuites/psxtmtests/psxtmmutexattr01/init.c b/testsuites/psxtmtests/psxtmmutexattr01/init.c index dc7ea80b63..561f6d87b7 100644 --- a/testsuites/psxtmtests/psxtmmutexattr01/init.c +++ b/testsuites/psxtmtests/psxtmmutexattr01/init.c @@ -1,6 +1,6 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright (C) 2018, Himanshu Sekhar Nayak * * Redistribution and use in source and binary forms, with or without diff --git a/testsuites/psxtmtests/psxtmmutexattr01/psxtmmutexattr01.doc b/testsuites/psxtmtests/psxtmmutexattr01/psxtmmutexattr01.doc index 06d5a49ce1..d74a0b9c1d 100644 --- a/testsuites/psxtmtests/psxtmmutexattr01/psxtmmutexattr01.doc +++ b/testsuites/psxtmtests/psxtmmutexattr01/psxtmmutexattr01.doc @@ -1,6 +1,6 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright (C) 2018, Himanshu Sekhar Nayak * * Redistribution and use in source and binary forms, with or without diff --git a/testsuites/psxtmtests/psxtmonce01/init.c b/testsuites/psxtmtests/psxtmonce01/init.c index 2d6824e5c1..3a5733a7bc 100644 --- a/testsuites/psxtmtests/psxtmonce01/init.c +++ b/testsuites/psxtmtests/psxtmonce01/init.c @@ -1,6 +1,6 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright (C) 2018, Himanshu Sekhar Nayak * * Redistribution and use in source and binary forms, with or without diff --git a/testsuites/psxtmtests/psxtmonce01/psxtmonce01.doc b/testsuites/psxtmtests/psxtmonce01/psxtmonce01.doc index c0548bfa45..1fc95a5160 100644 --- a/testsuites/psxtmtests/psxtmonce01/psxtmonce01.doc +++ b/testsuites/psxtmtests/psxtmonce01/psxtmonce01.doc @@ -1,6 +1,6 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright (C) 2018, Himanshu Sekhar Nayak * * Redistribution and use in source and binary forms, with or without diff --git a/testsuites/smptests/smpfatal09/init.c b/testsuites/smptests/smpfatal09/init.c index 6caca32c82..dd1af3d9f6 100644 --- a/testsuites/smptests/smpfatal09/init.c +++ b/testsuites/smptests/smpfatal09/init.c @@ -1,6 +1,6 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright (C) 2018 embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without diff --git a/testsuites/smptests/smpmulticast01/init.c b/testsuites/smptests/smpmulticast01/init.c index 51a4624ea1..afb46f10f9 100644 --- a/testsuites/smptests/smpmulticast01/init.c +++ b/testsuites/smptests/smpmulticast01/init.c @@ -1,6 +1,6 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright (C) 2019 embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without diff --git a/testsuites/sptests/spcxx01/init.cc b/testsuites/sptests/spcxx01/init.cc index 0f1412f292..8b8bcf8417 100644 --- a/testsuites/sptests/spcxx01/init.cc +++ b/testsuites/sptests/spcxx01/init.cc @@ -1,6 +1,6 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright (C) 2018 embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without diff --git a/testsuites/sptests/spntp01/init.c b/testsuites/sptests/spntp01/init.c index f6f6252bcf..4f23838cb0 100644 --- a/testsuites/sptests/spntp01/init.c +++ b/testsuites/sptests/spntp01/init.c @@ -1,6 +1,6 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright (C) 2022 embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without diff --git a/testsuites/sptests/sppps01/init.c b/testsuites/sptests/sppps01/init.c index 8dcce17769..079fb7599e 100644 --- a/testsuites/sptests/sppps01/init.c +++ b/testsuites/sptests/sppps01/init.c @@ -1,6 +1,6 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright (C) 2022 German Aerospace Center (DLR) * * Redistribution and use in source and binary forms, with or without diff --git a/testsuites/sptests/spstdc17/init.c b/testsuites/sptests/spstdc17/init.c index 0a1a5571ac..56b6a293ae 100644 --- a/testsuites/sptests/spstdc17/init.c +++ b/testsuites/sptests/spstdc17/init.c @@ -1,6 +1,6 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright (C) 2022 * * Redistribution and use in source and binary forms, with or without diff --git a/testsuites/sptests/sptree01/sys/tree.h b/testsuites/sptests/sptree01/sys/tree.h index 15a7fd3384..ddf98d2ffb 100644 --- a/testsuites/sptests/sptree01/sys/tree.h +++ b/testsuites/sptests/sptree01/sys/tree.h @@ -1,9 +1,9 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /* $NetBSD: tree.h,v 1.8 2004/03/28 19:38:30 provos Exp $ */ /* $OpenBSD: tree.h,v 1.7 2002/10/17 21:51:54 art Exp $ */ /*- - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright 2002 Niels Provos * All rights reserved. * diff --git a/testsuites/sptests/spunlimited01/init.c b/testsuites/sptests/spunlimited01/init.c index dc0496d441..42fa9c83e9 100644 --- a/testsuites/sptests/spunlimited01/init.c +++ b/testsuites/sptests/spunlimited01/init.c @@ -1,6 +1,6 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright (C) 2022 embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without