From 4f556310e09c85826c4b171af4de683ff791481f Mon Sep 17 00:00:00 2001 From: wenfei Date: Wed, 21 Sep 2022 17:35:30 +0800 Subject: [PATCH] =?UTF-8?q?Description:=E8=AE=B8=E5=8F=AF=E8=AF=81?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=20Apache=3D=3D>GPL?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wenfei --- .../accessftokenidgrptest_fuzzer.cpp | 7 +++---- .../accessftokenidgrptestother_fuzzer.cpp | 7 +++---- .../accessftokenidthreadtest_fuzzer.cpp | 7 +++---- .../accesstokenidgrptest_fuzzer.cpp | 7 +++---- .../accesstokenidgrptestother_fuzzer.cpp | 7 +++---- .../accesstokenidthreadtest_fuzzer.cpp | 7 +++---- .../getftokenidcmdcorrect_fuzzer.cpp | 7 +++---- .../getftokenidcmderror_fuzzer.cpp | 7 +++---- .../getftokenidnullptr_fuzzer.cpp | 7 +++---- .../gettokenidcmdcorrect_fuzzer.cpp | 7 +++---- .../gettokenidcmderror_fuzzer.cpp | 7 +++---- .../gettokenidnullptr_fuzzer.cpp | 7 +++---- .../fuzztest/accesstokenid/include/accesstokenidcommon.h | 7 +++---- .../setftokenidcmdcorrect_fuzzer.cpp | 7 +++---- .../setftokenidcmderror_fuzzer.cpp | 7 +++---- .../setftokenidnullptr_fuzzer.cpp | 7 +++---- .../settokenidcmdcorrect_fuzzer.cpp | 7 +++---- .../settokenidcmderror_fuzzer.cpp | 7 +++---- .../settokenidnullptr_fuzzer.cpp | 7 +++---- test/fuzztest/accesstokenid/src/accesstokenidcommon.cpp | 7 +++---- .../fuzztest/hc_node/hcenable_fuzzer/hcenable_fuzzer.cpp | 7 +++---- .../hchotdatalowerlimit_fuzzer.cpp | 7 +++---- .../hchotdatawaterline_fuzzer.cpp | 7 +++---- .../hchotnodelowerlimit_fuzzer.cpp | 7 +++---- .../hchotnodewaterline_fuzzer.cpp | 7 +++---- .../hcwarmdatalowerlimit_fuzzer.cpp | 7 +++---- .../hcwarmdatawaterline_fuzzer.cpp | 7 +++---- .../hcwarmnodelowerlimit_fuzzer.cpp | 7 +++---- .../hcwarmnodewaterline_fuzzer.cpp | 7 +++---- test/fuzztest/hc_node/include/hccommon.h | 7 +++---- test/fuzztest/hc_node/src/hccommon.cpp | 7 +++---- .../anonrefaultsnapshotmininterval_fuzzer.cpp | 7 +++---- test/fuzztest/memory/appscore_fuzzer/appscore_fuzzer.cpp | 7 +++---- .../areaanonrefaultthreshold_fuzzer.cpp | 7 +++---- .../memory/availbuffers_fuzzer/availbuffers_fuzzer.cpp | 7 +++---- .../bufferratioparams_fuzzer.cpp | 7 +++---- .../memory/compressratio_fuzzer/compressratio_fuzzer.cpp | 7 +++---- .../emptyroundcheckthreshold_fuzzer.cpp | 7 +++---- .../emptyroundskipinterval_fuzzer.cpp | 7 +++---- .../forceshrinkanon_fuzzer/forceshrinkanon_fuzzer.cpp | 7 +++---- test/fuzztest/memory/include/memorycommon.h | 7 +++---- .../maxskipinterval_fuzzer/maxskipinterval_fuzzer.cpp | 7 +++---- test/fuzztest/memory/name_fuzzer/name_fuzzer.cpp | 7 +++---- test/fuzztest/memory/src/memorycommon.cpp | 7 +++---- .../ubufs2zramratio_fuzzer/ubufs2zramratio_fuzzer.cpp | 7 +++---- .../zramcriticalthreshold_fuzzer.cpp | 7 +++---- .../memory/zramwmratio_fuzzer/zramwmratio_fuzzer.cpp | 7 +++---- .../zswapdmaxreclaimsize_fuzzer.cpp | 7 +++---- .../zswapdmemcgsparam_fuzzer.cpp | 7 +++---- .../zswapdpressureshow_fuzzer.cpp | 7 +++---- .../zswapdsinglememcgparam_fuzzer.cpp | 7 +++---- .../addthreadtortg_fuzzer/addthreadtortg_fuzzer.cpp | 7 +++---- .../beginframefreq_fuzzer/beginframefreq_fuzzer.cpp | 7 +++---- .../sched/endframefreq_fuzzer/endframefreq_fuzzer.cpp | 7 +++---- test/fuzztest/sched/endscene_fuzzer/endscene_fuzzer.cpp | 7 +++---- .../searchrtgfortid_fuzzer/searchrtgfortid_fuzzer.cpp | 7 +++---- .../fuzztest/sched/setmargin_fuzzer/setmargin_fuzzer.cpp | 7 +++---- test/init_runtest.sh | 7 +++---- test/kernel_ltp/generate_config.sh | 7 +++---- .../bin/cpuisolation_t/testcases/bin/cpuisolation01.sh | 7 +++---- .../bin/cpuisolation_t/testcases/bin/cpuisolation02.sh | 7 +++---- .../bin/cpuisolation_t/testcases/bin/cpuisolation03.sh | 7 +++---- .../bin/cpuisolation_t/testcases/bin/cpuisolation04.sh | 7 +++---- .../bin/cpuisolation_t/testcases/bin/cpuisolation05.sh | 7 +++---- .../bin/cpuisolation_t/testcases/bin/cpuisolation06.sh | 7 +++---- .../bin/cpuisolation_t/testcases/bin/cpuisolation07.sh | 7 +++---- .../bin/cpuisolation_t/testcases/bin/cpuisolation08.sh | 7 +++---- .../bin/cpuisolation_t/testcases/bin/cpuisolation09.sh | 7 +++---- .../bin/cpuisolation_t/testcases/bin/create_process.sh | 7 +++---- .../testcases/bin/cpusetdecouple_cpuhotplug01.sh | 7 +++---- .../testcases/bin/cpusetdecouple_cpuhotplug02.sh | 7 +++---- .../testcases/bin/cpusetdecouple_cpuhotplug03.sh | 7 +++---- .../testcases/bin/cpusetdecouple_cpuhotplug04.sh | 7 +++---- .../bin/enhancedf2fs_t/testcases/bin/enhancedf2fs01.sh | 7 +++---- .../bin/enhancedf2fs_t/testcases/bin/enhancedf2fs02.sh | 7 +++---- .../bin/enhancedf2fs_t/testcases/bin/enhancedf2fs03.sh | 7 +++---- .../bin/enhancedf2fs_t/testcases/bin/enhancedf2fs05.sh | 7 +++---- .../bin/enhancedf2fs_t/testcases/bin/enhancedf2fs07.sh | 7 +++---- .../bin/enhancedf2fs_t/testcases/bin/enhancedf2fs08.sh | 7 +++---- .../bin/enhancedf2fs_t/testcases/bin/enhancedf2fs09.sh | 7 +++---- .../bin/enhancedf2fs_t/testcases/bin/enhancedf2fs10.sh | 7 +++---- .../bin/enhancedf2fs_t/testcases/bin/enhancedf2fs11.sh | 7 +++---- .../bin/enhancedf2fs_t/testcases/bin/enhancedf2fs12.sh | 7 +++---- .../bin/enhancedf2fs_t/testcases/bin/equilibrium_init.sh | 7 +++---- .../bin/enhancedf2fs_t/testcases/bin/life_init.sh | 7 +++---- .../bin/enhancedf2fs_t/testcases/bin/performance_init.sh | 7 +++---- .../runtest/bin/enhancedf2fs_t/testcases/bin/run_fio.sh | 7 +++---- test/moduletest/runtest/bin/enhancedf2fs_t_init.sh | 7 +++---- test/moduletest/runtest/bin/enhancedf2fs_t_uninit.sh | 7 +++---- .../bin/enhancedswap_t/testcases/bin/enhancedswap01.sh | 7 +++---- .../bin/enhancedswap_t/testcases/bin/enhancedswap02.sh | 7 +++---- .../bin/enhancedswap_t/testcases/bin/enhancedswap03.sh | 7 +++---- .../bin/enhancedswap_t/testcases/bin/enhancedswap04.sh | 7 +++---- .../bin/enhancedswap_t/testcases/bin/enhancedswap05.sh | 7 +++---- test/moduletest/runtest/bin/enhancedswap_t_init.sh | 7 +++---- test/moduletest/runtest/bin/enhancedswap_t_uninit.sh | 7 +++---- .../runtest/bin/mem_debug_t/testcases/bin/mem_debug01.sh | 7 +++---- .../runtest/bin/mem_debug_t/testcases/bin/mem_debug02.sh | 7 +++---- .../runtest/bin/mem_debug_t/testcases/bin/mem_debug03.sh | 7 +++---- .../runtest/bin/mem_debug_t/testcases/bin/mem_debug04.sh | 7 +++---- .../runtest/bin/mem_debug_t/testcases/bin/mem_debug05.sh | 7 +++---- .../runtest/bin/mem_debug_t/testcases/bin/mem_debug06.sh | 7 +++---- .../runtest/bin/mem_debug_t/testcases/bin/mem_debug07.sh | 7 +++---- .../runtest/bin/mem_debug_t/testcases/bin/mem_debug08.sh | 7 +++---- .../runtest/bin/mem_debug_t/testcases/bin/mem_debug09.sh | 7 +++---- .../runtest/bin/mem_debug_t/testcases/bin/mem_debug10.sh | 7 +++---- test/moduletest/runtest/bin/mem_debug_t_init.sh | 7 +++---- test/moduletest/runtest/bin/mem_debug_t_uninit.sh | 7 +++---- .../bin/sched_rtg_t/testcases/bin/create_process.sh | 7 +++---- .../runtest/bin/sched_rtg_t/testcases/bin/sched_rtg01.sh | 7 +++---- .../runtest/bin/sched_rtg_t/testcases/bin/sched_rtg02.sh | 7 +++---- .../runtest/bin/sched_rtg_t/testcases/bin/sched_rtg03.sh | 7 +++---- .../runtest/bin/sched_rtg_t/testcases/bin/sched_rtg04.sh | 7 +++---- .../runtest/bin/sched_rtg_t/testcases/bin/sched_rtg06.sh | 7 +++---- test/moduletest/runtest/lib/libapi.sh | 7 +++---- test/moduletest/runtest/lib/tst_oh.sh | 7 +++---- test/tracepointtest/emmc.h | 7 +++---- test/tracepointtest/tracepoint.sh | 7 +++---- test/tracepointtest/tracepoint_test/tracepoint_test.c | 7 +++---- test/tracepointtest/tracepointtestko.sh | 7 +++---- .../vendoramlemmcpartition_test.c | 7 +++---- .../tracepointtest/vendordommap_test/vendordommap_test.c | 7 +++---- .../vendordomprotectpkey_test.c | 7 +++---- .../vendorfakebootpartition_test.c | 7 +++---- test/unittest/accesstokenid/accesstokenid_test.cpp | 7 +++---- test/unittest/accesstokenid/accesstokenid_test.h | 9 ++++----- 126 files changed, 379 insertions(+), 505 deletions(-) diff --git a/test/fuzztest/accesstokenid/accessftokenidgrptest_fuzzer/accessftokenidgrptest_fuzzer.cpp b/test/fuzztest/accesstokenid/accessftokenidgrptest_fuzzer/accessftokenidgrptest_fuzzer.cpp index 08e9ddb..3530012 100644 --- a/test/fuzztest/accesstokenid/accessftokenidgrptest_fuzzer/accessftokenidgrptest_fuzzer.cpp +++ b/test/fuzztest/accesstokenid/accessftokenidgrptest_fuzzer/accessftokenidgrptest_fuzzer.cpp @@ -1,10 +1,9 @@ /* * Copyright (c) 2022 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * SPDX-License-Identifier: GPL-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 + * Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. + * Do not use in new code. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/fuzztest/accesstokenid/accessftokenidgrptestother_fuzzer/accessftokenidgrptestother_fuzzer.cpp b/test/fuzztest/accesstokenid/accessftokenidgrptestother_fuzzer/accessftokenidgrptestother_fuzzer.cpp index 126264c..1138272 100644 --- a/test/fuzztest/accesstokenid/accessftokenidgrptestother_fuzzer/accessftokenidgrptestother_fuzzer.cpp +++ b/test/fuzztest/accesstokenid/accessftokenidgrptestother_fuzzer/accessftokenidgrptestother_fuzzer.cpp @@ -1,10 +1,9 @@ /* * Copyright (c) 2022 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * SPDX-License-Identifier: GPL-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 + * Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. + * Do not use in new code. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/fuzztest/accesstokenid/accessftokenidthreadtest_fuzzer/accessftokenidthreadtest_fuzzer.cpp b/test/fuzztest/accesstokenid/accessftokenidthreadtest_fuzzer/accessftokenidthreadtest_fuzzer.cpp index 95b1130..efcbaec 100644 --- a/test/fuzztest/accesstokenid/accessftokenidthreadtest_fuzzer/accessftokenidthreadtest_fuzzer.cpp +++ b/test/fuzztest/accesstokenid/accessftokenidthreadtest_fuzzer/accessftokenidthreadtest_fuzzer.cpp @@ -1,10 +1,9 @@ /* * Copyright (c) 2022 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * SPDX-License-Identifier: GPL-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 + * Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. + * Do not use in new code. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/fuzztest/accesstokenid/accesstokenidgrptest_fuzzer/accesstokenidgrptest_fuzzer.cpp b/test/fuzztest/accesstokenid/accesstokenidgrptest_fuzzer/accesstokenidgrptest_fuzzer.cpp index a9a8c04..fe42be4 100644 --- a/test/fuzztest/accesstokenid/accesstokenidgrptest_fuzzer/accesstokenidgrptest_fuzzer.cpp +++ b/test/fuzztest/accesstokenid/accesstokenidgrptest_fuzzer/accesstokenidgrptest_fuzzer.cpp @@ -1,10 +1,9 @@ /* * Copyright (c) 2022 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * SPDX-License-Identifier: GPL-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 + * Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. + * Do not use in new code. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/fuzztest/accesstokenid/accesstokenidgrptestother_fuzzer/accesstokenidgrptestother_fuzzer.cpp b/test/fuzztest/accesstokenid/accesstokenidgrptestother_fuzzer/accesstokenidgrptestother_fuzzer.cpp index 111c3d5..93fdd1a 100644 --- a/test/fuzztest/accesstokenid/accesstokenidgrptestother_fuzzer/accesstokenidgrptestother_fuzzer.cpp +++ b/test/fuzztest/accesstokenid/accesstokenidgrptestother_fuzzer/accesstokenidgrptestother_fuzzer.cpp @@ -1,10 +1,9 @@ /* * Copyright (c) 2022 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * SPDX-License-Identifier: GPL-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 + * Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. + * Do not use in new code. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/fuzztest/accesstokenid/accesstokenidthreadtest_fuzzer/accesstokenidthreadtest_fuzzer.cpp b/test/fuzztest/accesstokenid/accesstokenidthreadtest_fuzzer/accesstokenidthreadtest_fuzzer.cpp index 72f6f1d..99a2124 100644 --- a/test/fuzztest/accesstokenid/accesstokenidthreadtest_fuzzer/accesstokenidthreadtest_fuzzer.cpp +++ b/test/fuzztest/accesstokenid/accesstokenidthreadtest_fuzzer/accesstokenidthreadtest_fuzzer.cpp @@ -1,10 +1,9 @@ /* * Copyright (c) 2022 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * SPDX-License-Identifier: GPL-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 + * Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. + * Do not use in new code. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/fuzztest/accesstokenid/getftokenidcmdcorrect_fuzzer/getftokenidcmdcorrect_fuzzer.cpp b/test/fuzztest/accesstokenid/getftokenidcmdcorrect_fuzzer/getftokenidcmdcorrect_fuzzer.cpp index f59e1c7..e8ea26b 100644 --- a/test/fuzztest/accesstokenid/getftokenidcmdcorrect_fuzzer/getftokenidcmdcorrect_fuzzer.cpp +++ b/test/fuzztest/accesstokenid/getftokenidcmdcorrect_fuzzer/getftokenidcmdcorrect_fuzzer.cpp @@ -1,10 +1,9 @@ /* * Copyright (c) 2022 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * SPDX-License-Identifier: GPL-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 + * Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. + * Do not use in new code. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/fuzztest/accesstokenid/getftokenidcmderror_fuzzer/getftokenidcmderror_fuzzer.cpp b/test/fuzztest/accesstokenid/getftokenidcmderror_fuzzer/getftokenidcmderror_fuzzer.cpp index e5c2ef7..11391f0 100644 --- a/test/fuzztest/accesstokenid/getftokenidcmderror_fuzzer/getftokenidcmderror_fuzzer.cpp +++ b/test/fuzztest/accesstokenid/getftokenidcmderror_fuzzer/getftokenidcmderror_fuzzer.cpp @@ -1,10 +1,9 @@ /* * Copyright (c) 2022 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * SPDX-License-Identifier: GPL-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 + * Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. + * Do not use in new code. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/fuzztest/accesstokenid/getftokenidnullptr_fuzzer/getftokenidnullptr_fuzzer.cpp b/test/fuzztest/accesstokenid/getftokenidnullptr_fuzzer/getftokenidnullptr_fuzzer.cpp index 0882bb7..c32e4c1 100644 --- a/test/fuzztest/accesstokenid/getftokenidnullptr_fuzzer/getftokenidnullptr_fuzzer.cpp +++ b/test/fuzztest/accesstokenid/getftokenidnullptr_fuzzer/getftokenidnullptr_fuzzer.cpp @@ -1,10 +1,9 @@ /* * Copyright (c) 2022 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * SPDX-License-Identifier: GPL-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 + * Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. + * Do not use in new code. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/fuzztest/accesstokenid/gettokenidcmdcorrect_fuzzer/gettokenidcmdcorrect_fuzzer.cpp b/test/fuzztest/accesstokenid/gettokenidcmdcorrect_fuzzer/gettokenidcmdcorrect_fuzzer.cpp index 310c2a9..41f863f 100644 --- a/test/fuzztest/accesstokenid/gettokenidcmdcorrect_fuzzer/gettokenidcmdcorrect_fuzzer.cpp +++ b/test/fuzztest/accesstokenid/gettokenidcmdcorrect_fuzzer/gettokenidcmdcorrect_fuzzer.cpp @@ -1,10 +1,9 @@ /* * Copyright (c) 2022 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * SPDX-License-Identifier: GPL-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 + * Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. + * Do not use in new code. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/fuzztest/accesstokenid/gettokenidcmderror_fuzzer/gettokenidcmderror_fuzzer.cpp b/test/fuzztest/accesstokenid/gettokenidcmderror_fuzzer/gettokenidcmderror_fuzzer.cpp index 28255d6..c26f8e6 100644 --- a/test/fuzztest/accesstokenid/gettokenidcmderror_fuzzer/gettokenidcmderror_fuzzer.cpp +++ b/test/fuzztest/accesstokenid/gettokenidcmderror_fuzzer/gettokenidcmderror_fuzzer.cpp @@ -1,10 +1,9 @@ /* * Copyright (c) 2022 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * SPDX-License-Identifier: GPL-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 + * Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. + * Do not use in new code. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/fuzztest/accesstokenid/gettokenidnullptr_fuzzer/gettokenidnullptr_fuzzer.cpp b/test/fuzztest/accesstokenid/gettokenidnullptr_fuzzer/gettokenidnullptr_fuzzer.cpp index a6a862f..0ebc7fa 100644 --- a/test/fuzztest/accesstokenid/gettokenidnullptr_fuzzer/gettokenidnullptr_fuzzer.cpp +++ b/test/fuzztest/accesstokenid/gettokenidnullptr_fuzzer/gettokenidnullptr_fuzzer.cpp @@ -1,10 +1,9 @@ /* * Copyright (c) 2022 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * SPDX-License-Identifier: GPL-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 + * Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. + * Do not use in new code. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/fuzztest/accesstokenid/include/accesstokenidcommon.h b/test/fuzztest/accesstokenid/include/accesstokenidcommon.h index ce1059a..d547728 100644 --- a/test/fuzztest/accesstokenid/include/accesstokenidcommon.h +++ b/test/fuzztest/accesstokenid/include/accesstokenidcommon.h @@ -1,10 +1,9 @@ /* * Copyright (c) 2022 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * SPDX-License-Identifier: GPL-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 + * Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. + * Do not use in new code. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/fuzztest/accesstokenid/setftokenidcmdcorrect_fuzzer/setftokenidcmdcorrect_fuzzer.cpp b/test/fuzztest/accesstokenid/setftokenidcmdcorrect_fuzzer/setftokenidcmdcorrect_fuzzer.cpp index 35b1d10..bec5a2c 100644 --- a/test/fuzztest/accesstokenid/setftokenidcmdcorrect_fuzzer/setftokenidcmdcorrect_fuzzer.cpp +++ b/test/fuzztest/accesstokenid/setftokenidcmdcorrect_fuzzer/setftokenidcmdcorrect_fuzzer.cpp @@ -1,10 +1,9 @@ /* * Copyright (c) 2022 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * SPDX-License-Identifier: GPL-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 + * Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. + * Do not use in new code. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/fuzztest/accesstokenid/setftokenidcmderror_fuzzer/setftokenidcmderror_fuzzer.cpp b/test/fuzztest/accesstokenid/setftokenidcmderror_fuzzer/setftokenidcmderror_fuzzer.cpp index 7edb5fd..8a74ae3 100644 --- a/test/fuzztest/accesstokenid/setftokenidcmderror_fuzzer/setftokenidcmderror_fuzzer.cpp +++ b/test/fuzztest/accesstokenid/setftokenidcmderror_fuzzer/setftokenidcmderror_fuzzer.cpp @@ -1,10 +1,9 @@ /* * Copyright (c) 2022 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * SPDX-License-Identifier: GPL-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 + * Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. + * Do not use in new code. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/fuzztest/accesstokenid/setftokenidnullptr_fuzzer/setftokenidnullptr_fuzzer.cpp b/test/fuzztest/accesstokenid/setftokenidnullptr_fuzzer/setftokenidnullptr_fuzzer.cpp index 7671315..ff46291 100644 --- a/test/fuzztest/accesstokenid/setftokenidnullptr_fuzzer/setftokenidnullptr_fuzzer.cpp +++ b/test/fuzztest/accesstokenid/setftokenidnullptr_fuzzer/setftokenidnullptr_fuzzer.cpp @@ -1,10 +1,9 @@ /* * Copyright (c) 2022 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * SPDX-License-Identifier: GPL-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 + * Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. + * Do not use in new code. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/fuzztest/accesstokenid/settokenidcmdcorrect_fuzzer/settokenidcmdcorrect_fuzzer.cpp b/test/fuzztest/accesstokenid/settokenidcmdcorrect_fuzzer/settokenidcmdcorrect_fuzzer.cpp index 212190c..3fdd9a6 100644 --- a/test/fuzztest/accesstokenid/settokenidcmdcorrect_fuzzer/settokenidcmdcorrect_fuzzer.cpp +++ b/test/fuzztest/accesstokenid/settokenidcmdcorrect_fuzzer/settokenidcmdcorrect_fuzzer.cpp @@ -1,10 +1,9 @@ /* * Copyright (c) 2022 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * SPDX-License-Identifier: GPL-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 + * Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. + * Do not use in new code. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/fuzztest/accesstokenid/settokenidcmderror_fuzzer/settokenidcmderror_fuzzer.cpp b/test/fuzztest/accesstokenid/settokenidcmderror_fuzzer/settokenidcmderror_fuzzer.cpp index 9292c1f..899bb77 100644 --- a/test/fuzztest/accesstokenid/settokenidcmderror_fuzzer/settokenidcmderror_fuzzer.cpp +++ b/test/fuzztest/accesstokenid/settokenidcmderror_fuzzer/settokenidcmderror_fuzzer.cpp @@ -1,10 +1,9 @@ /* * Copyright (c) 2022 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * SPDX-License-Identifier: GPL-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 + * Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. + * Do not use in new code. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/fuzztest/accesstokenid/settokenidnullptr_fuzzer/settokenidnullptr_fuzzer.cpp b/test/fuzztest/accesstokenid/settokenidnullptr_fuzzer/settokenidnullptr_fuzzer.cpp index b8fa5ea..a79ecf7 100644 --- a/test/fuzztest/accesstokenid/settokenidnullptr_fuzzer/settokenidnullptr_fuzzer.cpp +++ b/test/fuzztest/accesstokenid/settokenidnullptr_fuzzer/settokenidnullptr_fuzzer.cpp @@ -1,10 +1,9 @@ /* * Copyright (c) 2022 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * SPDX-License-Identifier: GPL-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 + * Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. + * Do not use in new code. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/fuzztest/accesstokenid/src/accesstokenidcommon.cpp b/test/fuzztest/accesstokenid/src/accesstokenidcommon.cpp index 3b7fa7f..b9fa288 100644 --- a/test/fuzztest/accesstokenid/src/accesstokenidcommon.cpp +++ b/test/fuzztest/accesstokenid/src/accesstokenidcommon.cpp @@ -1,10 +1,9 @@ /* * Copyright (c) 2022 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * SPDX-License-Identifier: GPL-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 + * Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. + * Do not use in new code. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/fuzztest/hc_node/hcenable_fuzzer/hcenable_fuzzer.cpp b/test/fuzztest/hc_node/hcenable_fuzzer/hcenable_fuzzer.cpp index c1bb408..5bd5c33 100644 --- a/test/fuzztest/hc_node/hcenable_fuzzer/hcenable_fuzzer.cpp +++ b/test/fuzztest/hc_node/hcenable_fuzzer/hcenable_fuzzer.cpp @@ -1,10 +1,9 @@ /* * Copyright (c) 2022 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * SPDX-License-Identifier: GPL-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 + * Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. + * Do not use in new code. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/fuzztest/hc_node/hchotdatalowerlimit_fuzzer/hchotdatalowerlimit_fuzzer.cpp b/test/fuzztest/hc_node/hchotdatalowerlimit_fuzzer/hchotdatalowerlimit_fuzzer.cpp index 12960c3..a1bed11 100644 --- a/test/fuzztest/hc_node/hchotdatalowerlimit_fuzzer/hchotdatalowerlimit_fuzzer.cpp +++ b/test/fuzztest/hc_node/hchotdatalowerlimit_fuzzer/hchotdatalowerlimit_fuzzer.cpp @@ -1,10 +1,9 @@ /* * Copyright (c) 2022 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * SPDX-License-Identifier: GPL-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 + * Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. + * Do not use in new code. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/fuzztest/hc_node/hchotdatawaterline_fuzzer/hchotdatawaterline_fuzzer.cpp b/test/fuzztest/hc_node/hchotdatawaterline_fuzzer/hchotdatawaterline_fuzzer.cpp index 6630f76..5a43267 100644 --- a/test/fuzztest/hc_node/hchotdatawaterline_fuzzer/hchotdatawaterline_fuzzer.cpp +++ b/test/fuzztest/hc_node/hchotdatawaterline_fuzzer/hchotdatawaterline_fuzzer.cpp @@ -1,10 +1,9 @@ /* * Copyright (c) 2022 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * SPDX-License-Identifier: GPL-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 + * Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. + * Do not use in new code. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/fuzztest/hc_node/hchotnodelowerlimit_fuzzer/hchotnodelowerlimit_fuzzer.cpp b/test/fuzztest/hc_node/hchotnodelowerlimit_fuzzer/hchotnodelowerlimit_fuzzer.cpp index 9e38b73..1d19668 100644 --- a/test/fuzztest/hc_node/hchotnodelowerlimit_fuzzer/hchotnodelowerlimit_fuzzer.cpp +++ b/test/fuzztest/hc_node/hchotnodelowerlimit_fuzzer/hchotnodelowerlimit_fuzzer.cpp @@ -1,10 +1,9 @@ /* * Copyright (c) 2022 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * SPDX-License-Identifier: GPL-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 + * Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. + * Do not use in new code. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/fuzztest/hc_node/hchotnodewaterline_fuzzer/hchotnodewaterline_fuzzer.cpp b/test/fuzztest/hc_node/hchotnodewaterline_fuzzer/hchotnodewaterline_fuzzer.cpp index b009933..740b1ce 100644 --- a/test/fuzztest/hc_node/hchotnodewaterline_fuzzer/hchotnodewaterline_fuzzer.cpp +++ b/test/fuzztest/hc_node/hchotnodewaterline_fuzzer/hchotnodewaterline_fuzzer.cpp @@ -1,10 +1,9 @@ /* * Copyright (c) 2022 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * SPDX-License-Identifier: GPL-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 + * Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. + * Do not use in new code. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/fuzztest/hc_node/hcwarmdatalowerlimit_fuzzer/hcwarmdatalowerlimit_fuzzer.cpp b/test/fuzztest/hc_node/hcwarmdatalowerlimit_fuzzer/hcwarmdatalowerlimit_fuzzer.cpp index 0c51cf9..ffb8780 100644 --- a/test/fuzztest/hc_node/hcwarmdatalowerlimit_fuzzer/hcwarmdatalowerlimit_fuzzer.cpp +++ b/test/fuzztest/hc_node/hcwarmdatalowerlimit_fuzzer/hcwarmdatalowerlimit_fuzzer.cpp @@ -1,10 +1,9 @@ /* * Copyright (c) 2022 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * SPDX-License-Identifier: GPL-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 + * Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. + * Do not use in new code. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/fuzztest/hc_node/hcwarmdatawaterline_fuzzer/hcwarmdatawaterline_fuzzer.cpp b/test/fuzztest/hc_node/hcwarmdatawaterline_fuzzer/hcwarmdatawaterline_fuzzer.cpp index ff0684b..e795d51 100644 --- a/test/fuzztest/hc_node/hcwarmdatawaterline_fuzzer/hcwarmdatawaterline_fuzzer.cpp +++ b/test/fuzztest/hc_node/hcwarmdatawaterline_fuzzer/hcwarmdatawaterline_fuzzer.cpp @@ -1,10 +1,9 @@ /* * Copyright (c) 2022 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * SPDX-License-Identifier: GPL-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 + * Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. + * Do not use in new code. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/fuzztest/hc_node/hcwarmnodelowerlimit_fuzzer/hcwarmnodelowerlimit_fuzzer.cpp b/test/fuzztest/hc_node/hcwarmnodelowerlimit_fuzzer/hcwarmnodelowerlimit_fuzzer.cpp index ebb10de..dedd76f 100644 --- a/test/fuzztest/hc_node/hcwarmnodelowerlimit_fuzzer/hcwarmnodelowerlimit_fuzzer.cpp +++ b/test/fuzztest/hc_node/hcwarmnodelowerlimit_fuzzer/hcwarmnodelowerlimit_fuzzer.cpp @@ -1,10 +1,9 @@ /* * Copyright (c) 2022 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * SPDX-License-Identifier: GPL-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 + * Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. + * Do not use in new code. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/fuzztest/hc_node/hcwarmnodewaterline_fuzzer/hcwarmnodewaterline_fuzzer.cpp b/test/fuzztest/hc_node/hcwarmnodewaterline_fuzzer/hcwarmnodewaterline_fuzzer.cpp index a9603a7..434fa9a 100644 --- a/test/fuzztest/hc_node/hcwarmnodewaterline_fuzzer/hcwarmnodewaterline_fuzzer.cpp +++ b/test/fuzztest/hc_node/hcwarmnodewaterline_fuzzer/hcwarmnodewaterline_fuzzer.cpp @@ -1,10 +1,9 @@ /* * Copyright (c) 2022 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * SPDX-License-Identifier: GPL-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 + * Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. + * Do not use in new code. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/fuzztest/hc_node/include/hccommon.h b/test/fuzztest/hc_node/include/hccommon.h index 31f790c..24a76a9 100644 --- a/test/fuzztest/hc_node/include/hccommon.h +++ b/test/fuzztest/hc_node/include/hccommon.h @@ -1,10 +1,9 @@ /* * Copyright (c) 2022 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * SPDX-License-Identifier: GPL-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 + * Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. + * Do not use in new code. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/fuzztest/hc_node/src/hccommon.cpp b/test/fuzztest/hc_node/src/hccommon.cpp index fa866bf..2602785 100644 --- a/test/fuzztest/hc_node/src/hccommon.cpp +++ b/test/fuzztest/hc_node/src/hccommon.cpp @@ -1,10 +1,9 @@ /* * Copyright (c) 2022 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * SPDX-License-Identifier: GPL-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 + * Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. + * Do not use in new code. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/fuzztest/memory/anonrefaultsnapshotmininterval_fuzzer/anonrefaultsnapshotmininterval_fuzzer.cpp b/test/fuzztest/memory/anonrefaultsnapshotmininterval_fuzzer/anonrefaultsnapshotmininterval_fuzzer.cpp index 82b5a38..5db3956 100644 --- a/test/fuzztest/memory/anonrefaultsnapshotmininterval_fuzzer/anonrefaultsnapshotmininterval_fuzzer.cpp +++ b/test/fuzztest/memory/anonrefaultsnapshotmininterval_fuzzer/anonrefaultsnapshotmininterval_fuzzer.cpp @@ -1,10 +1,9 @@ /* * Copyright (c) 2022 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * SPDX-License-Identifier: GPL-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 + * Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. + * Do not use in new code. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/fuzztest/memory/appscore_fuzzer/appscore_fuzzer.cpp b/test/fuzztest/memory/appscore_fuzzer/appscore_fuzzer.cpp index a8cd8b4..f7a24d3 100644 --- a/test/fuzztest/memory/appscore_fuzzer/appscore_fuzzer.cpp +++ b/test/fuzztest/memory/appscore_fuzzer/appscore_fuzzer.cpp @@ -1,10 +1,9 @@ /* * Copyright (c) 2022 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * SPDX-License-Identifier: GPL-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 + * Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. + * Do not use in new code. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/fuzztest/memory/areaanonrefaultthreshold_fuzzer/areaanonrefaultthreshold_fuzzer.cpp b/test/fuzztest/memory/areaanonrefaultthreshold_fuzzer/areaanonrefaultthreshold_fuzzer.cpp index 0da0acd..6331a84 100644 --- a/test/fuzztest/memory/areaanonrefaultthreshold_fuzzer/areaanonrefaultthreshold_fuzzer.cpp +++ b/test/fuzztest/memory/areaanonrefaultthreshold_fuzzer/areaanonrefaultthreshold_fuzzer.cpp @@ -1,10 +1,9 @@ /* * Copyright (c) 2022 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * SPDX-License-Identifier: GPL-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 + * Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. + * Do not use in new code. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/fuzztest/memory/availbuffers_fuzzer/availbuffers_fuzzer.cpp b/test/fuzztest/memory/availbuffers_fuzzer/availbuffers_fuzzer.cpp index bc650ce..403a791 100644 --- a/test/fuzztest/memory/availbuffers_fuzzer/availbuffers_fuzzer.cpp +++ b/test/fuzztest/memory/availbuffers_fuzzer/availbuffers_fuzzer.cpp @@ -1,10 +1,9 @@ /* * Copyright (c) 2022 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * SPDX-License-Identifier: GPL-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 + * Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. + * Do not use in new code. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/fuzztest/memory/bufferratioparams_fuzzer/bufferratioparams_fuzzer.cpp b/test/fuzztest/memory/bufferratioparams_fuzzer/bufferratioparams_fuzzer.cpp index 644d1d3..faaa324 100644 --- a/test/fuzztest/memory/bufferratioparams_fuzzer/bufferratioparams_fuzzer.cpp +++ b/test/fuzztest/memory/bufferratioparams_fuzzer/bufferratioparams_fuzzer.cpp @@ -1,10 +1,9 @@ /* * Copyright (c) 2022 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * SPDX-License-Identifier: GPL-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 + * Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. + * Do not use in new code. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/fuzztest/memory/compressratio_fuzzer/compressratio_fuzzer.cpp b/test/fuzztest/memory/compressratio_fuzzer/compressratio_fuzzer.cpp index 487a958..86ed6ac 100644 --- a/test/fuzztest/memory/compressratio_fuzzer/compressratio_fuzzer.cpp +++ b/test/fuzztest/memory/compressratio_fuzzer/compressratio_fuzzer.cpp @@ -1,10 +1,9 @@ /* * Copyright (c) 2022 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * SPDX-License-Identifier: GPL-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 + * Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. + * Do not use in new code. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/fuzztest/memory/emptyroundcheckthreshold_fuzzer/emptyroundcheckthreshold_fuzzer.cpp b/test/fuzztest/memory/emptyroundcheckthreshold_fuzzer/emptyroundcheckthreshold_fuzzer.cpp index 7984e6e..9629597 100644 --- a/test/fuzztest/memory/emptyroundcheckthreshold_fuzzer/emptyroundcheckthreshold_fuzzer.cpp +++ b/test/fuzztest/memory/emptyroundcheckthreshold_fuzzer/emptyroundcheckthreshold_fuzzer.cpp @@ -1,10 +1,9 @@ /* * Copyright (c) 2022 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * SPDX-License-Identifier: GPL-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 + * Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. + * Do not use in new code. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/fuzztest/memory/emptyroundskipinterval_fuzzer/emptyroundskipinterval_fuzzer.cpp b/test/fuzztest/memory/emptyroundskipinterval_fuzzer/emptyroundskipinterval_fuzzer.cpp index 96a05f3..59f1585 100644 --- a/test/fuzztest/memory/emptyroundskipinterval_fuzzer/emptyroundskipinterval_fuzzer.cpp +++ b/test/fuzztest/memory/emptyroundskipinterval_fuzzer/emptyroundskipinterval_fuzzer.cpp @@ -1,10 +1,9 @@ /* * Copyright (c) 2022 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * SPDX-License-Identifier: GPL-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 + * Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. + * Do not use in new code. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/fuzztest/memory/forceshrinkanon_fuzzer/forceshrinkanon_fuzzer.cpp b/test/fuzztest/memory/forceshrinkanon_fuzzer/forceshrinkanon_fuzzer.cpp index 358aff4..be31580 100644 --- a/test/fuzztest/memory/forceshrinkanon_fuzzer/forceshrinkanon_fuzzer.cpp +++ b/test/fuzztest/memory/forceshrinkanon_fuzzer/forceshrinkanon_fuzzer.cpp @@ -1,10 +1,9 @@ /* * Copyright (c) 2022 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * SPDX-License-Identifier: GPL-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 + * Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. + * Do not use in new code. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/fuzztest/memory/include/memorycommon.h b/test/fuzztest/memory/include/memorycommon.h index 7e90286..3e97362 100644 --- a/test/fuzztest/memory/include/memorycommon.h +++ b/test/fuzztest/memory/include/memorycommon.h @@ -1,10 +1,9 @@ /* * Copyright (c) 2022 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * SPDX-License-Identifier: GPL-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 + * Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. + * Do not use in new code. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/fuzztest/memory/maxskipinterval_fuzzer/maxskipinterval_fuzzer.cpp b/test/fuzztest/memory/maxskipinterval_fuzzer/maxskipinterval_fuzzer.cpp index 73ffffd..26be6cb 100644 --- a/test/fuzztest/memory/maxskipinterval_fuzzer/maxskipinterval_fuzzer.cpp +++ b/test/fuzztest/memory/maxskipinterval_fuzzer/maxskipinterval_fuzzer.cpp @@ -1,10 +1,9 @@ /* * Copyright (c) 2022 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * SPDX-License-Identifier: GPL-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 + * Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. + * Do not use in new code. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/fuzztest/memory/name_fuzzer/name_fuzzer.cpp b/test/fuzztest/memory/name_fuzzer/name_fuzzer.cpp index 9311f4d..1d13160 100644 --- a/test/fuzztest/memory/name_fuzzer/name_fuzzer.cpp +++ b/test/fuzztest/memory/name_fuzzer/name_fuzzer.cpp @@ -1,10 +1,9 @@ /* * Copyright (c) 2022 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * SPDX-License-Identifier: GPL-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 + * Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. + * Do not use in new code. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/fuzztest/memory/src/memorycommon.cpp b/test/fuzztest/memory/src/memorycommon.cpp index 82e2dfb..dc7b9b4 100644 --- a/test/fuzztest/memory/src/memorycommon.cpp +++ b/test/fuzztest/memory/src/memorycommon.cpp @@ -1,10 +1,9 @@ /* * Copyright (c) 2022 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * SPDX-License-Identifier: GPL-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 + * Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. + * Do not use in new code. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/fuzztest/memory/ubufs2zramratio_fuzzer/ubufs2zramratio_fuzzer.cpp b/test/fuzztest/memory/ubufs2zramratio_fuzzer/ubufs2zramratio_fuzzer.cpp index 0dbe7af..de872c2 100644 --- a/test/fuzztest/memory/ubufs2zramratio_fuzzer/ubufs2zramratio_fuzzer.cpp +++ b/test/fuzztest/memory/ubufs2zramratio_fuzzer/ubufs2zramratio_fuzzer.cpp @@ -1,10 +1,9 @@ /* * Copyright (c) 2022 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * SPDX-License-Identifier: GPL-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 + * Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. + * Do not use in new code. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/fuzztest/memory/zramcriticalthreshold_fuzzer/zramcriticalthreshold_fuzzer.cpp b/test/fuzztest/memory/zramcriticalthreshold_fuzzer/zramcriticalthreshold_fuzzer.cpp index dd63253..11df9e1 100644 --- a/test/fuzztest/memory/zramcriticalthreshold_fuzzer/zramcriticalthreshold_fuzzer.cpp +++ b/test/fuzztest/memory/zramcriticalthreshold_fuzzer/zramcriticalthreshold_fuzzer.cpp @@ -1,10 +1,9 @@ /* * Copyright (c) 2022 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * SPDX-License-Identifier: GPL-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 + * Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. + * Do not use in new code. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/fuzztest/memory/zramwmratio_fuzzer/zramwmratio_fuzzer.cpp b/test/fuzztest/memory/zramwmratio_fuzzer/zramwmratio_fuzzer.cpp index ac871ce..daae4a7 100644 --- a/test/fuzztest/memory/zramwmratio_fuzzer/zramwmratio_fuzzer.cpp +++ b/test/fuzztest/memory/zramwmratio_fuzzer/zramwmratio_fuzzer.cpp @@ -1,10 +1,9 @@ /* * Copyright (c) 2022 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * SPDX-License-Identifier: GPL-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 + * Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. + * Do not use in new code. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/fuzztest/memory/zswapdmaxreclaimsize_fuzzer/zswapdmaxreclaimsize_fuzzer.cpp b/test/fuzztest/memory/zswapdmaxreclaimsize_fuzzer/zswapdmaxreclaimsize_fuzzer.cpp index dd39fdb..00f6c79 100644 --- a/test/fuzztest/memory/zswapdmaxreclaimsize_fuzzer/zswapdmaxreclaimsize_fuzzer.cpp +++ b/test/fuzztest/memory/zswapdmaxreclaimsize_fuzzer/zswapdmaxreclaimsize_fuzzer.cpp @@ -1,10 +1,9 @@ /* * Copyright (c) 2022 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * SPDX-License-Identifier: GPL-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 + * Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. + * Do not use in new code. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/fuzztest/memory/zswapdmemcgsparam_fuzzer/zswapdmemcgsparam_fuzzer.cpp b/test/fuzztest/memory/zswapdmemcgsparam_fuzzer/zswapdmemcgsparam_fuzzer.cpp index 7afeee9..6838b07 100644 --- a/test/fuzztest/memory/zswapdmemcgsparam_fuzzer/zswapdmemcgsparam_fuzzer.cpp +++ b/test/fuzztest/memory/zswapdmemcgsparam_fuzzer/zswapdmemcgsparam_fuzzer.cpp @@ -1,10 +1,9 @@ /* * Copyright (c) 2022 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * SPDX-License-Identifier: GPL-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 + * Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. + * Do not use in new code. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/fuzztest/memory/zswapdpressureshow_fuzzer/zswapdpressureshow_fuzzer.cpp b/test/fuzztest/memory/zswapdpressureshow_fuzzer/zswapdpressureshow_fuzzer.cpp index df71beb..4ec816c 100644 --- a/test/fuzztest/memory/zswapdpressureshow_fuzzer/zswapdpressureshow_fuzzer.cpp +++ b/test/fuzztest/memory/zswapdpressureshow_fuzzer/zswapdpressureshow_fuzzer.cpp @@ -1,10 +1,9 @@ /* * Copyright (c) 2022 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * SPDX-License-Identifier: GPL-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 + * Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. + * Do not use in new code. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/fuzztest/memory/zswapdsinglememcgparam_fuzzer/zswapdsinglememcgparam_fuzzer.cpp b/test/fuzztest/memory/zswapdsinglememcgparam_fuzzer/zswapdsinglememcgparam_fuzzer.cpp index 1dc2ba9..9d1605b 100644 --- a/test/fuzztest/memory/zswapdsinglememcgparam_fuzzer/zswapdsinglememcgparam_fuzzer.cpp +++ b/test/fuzztest/memory/zswapdsinglememcgparam_fuzzer/zswapdsinglememcgparam_fuzzer.cpp @@ -1,10 +1,9 @@ /* * Copyright (c) 2022 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * SPDX-License-Identifier: GPL-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 + * Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. + * Do not use in new code. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/fuzztest/sched/addthreadtortg_fuzzer/addthreadtortg_fuzzer.cpp b/test/fuzztest/sched/addthreadtortg_fuzzer/addthreadtortg_fuzzer.cpp index edefad3..b63a743 100644 --- a/test/fuzztest/sched/addthreadtortg_fuzzer/addthreadtortg_fuzzer.cpp +++ b/test/fuzztest/sched/addthreadtortg_fuzzer/addthreadtortg_fuzzer.cpp @@ -1,10 +1,9 @@ /* * Copyright (c) 2022 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * SPDX-License-Identifier: GPL-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 + * Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. + * Do not use in new code. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/fuzztest/sched/beginframefreq_fuzzer/beginframefreq_fuzzer.cpp b/test/fuzztest/sched/beginframefreq_fuzzer/beginframefreq_fuzzer.cpp index 942ba8f..79c5de1 100644 --- a/test/fuzztest/sched/beginframefreq_fuzzer/beginframefreq_fuzzer.cpp +++ b/test/fuzztest/sched/beginframefreq_fuzzer/beginframefreq_fuzzer.cpp @@ -1,10 +1,9 @@ /* * Copyright (c) 2022 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * SPDX-License-Identifier: GPL-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 + * Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. + * Do not use in new code. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/fuzztest/sched/endframefreq_fuzzer/endframefreq_fuzzer.cpp b/test/fuzztest/sched/endframefreq_fuzzer/endframefreq_fuzzer.cpp index d7cd044..ff3fece 100644 --- a/test/fuzztest/sched/endframefreq_fuzzer/endframefreq_fuzzer.cpp +++ b/test/fuzztest/sched/endframefreq_fuzzer/endframefreq_fuzzer.cpp @@ -1,10 +1,9 @@ /* * Copyright (c) 2022 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * SPDX-License-Identifier: GPL-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 + * Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. + * Do not use in new code. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/fuzztest/sched/endscene_fuzzer/endscene_fuzzer.cpp b/test/fuzztest/sched/endscene_fuzzer/endscene_fuzzer.cpp index cb309a5..37bd017 100644 --- a/test/fuzztest/sched/endscene_fuzzer/endscene_fuzzer.cpp +++ b/test/fuzztest/sched/endscene_fuzzer/endscene_fuzzer.cpp @@ -1,10 +1,9 @@ /* * Copyright (c) 2022 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * SPDX-License-Identifier: GPL-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 + * Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. + * Do not use in new code. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/fuzztest/sched/searchrtgfortid_fuzzer/searchrtgfortid_fuzzer.cpp b/test/fuzztest/sched/searchrtgfortid_fuzzer/searchrtgfortid_fuzzer.cpp index 8d77343..586dcee 100644 --- a/test/fuzztest/sched/searchrtgfortid_fuzzer/searchrtgfortid_fuzzer.cpp +++ b/test/fuzztest/sched/searchrtgfortid_fuzzer/searchrtgfortid_fuzzer.cpp @@ -1,10 +1,9 @@ /* * Copyright (c) 2022 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * SPDX-License-Identifier: GPL-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 + * Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. + * Do not use in new code. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/fuzztest/sched/setmargin_fuzzer/setmargin_fuzzer.cpp b/test/fuzztest/sched/setmargin_fuzzer/setmargin_fuzzer.cpp index 02aed9a..f88cd2e 100644 --- a/test/fuzztest/sched/setmargin_fuzzer/setmargin_fuzzer.cpp +++ b/test/fuzztest/sched/setmargin_fuzzer/setmargin_fuzzer.cpp @@ -1,10 +1,9 @@ /* * Copyright (c) 2022 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * SPDX-License-Identifier: GPL-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 + * Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. + * Do not use in new code. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/init_runtest.sh b/test/init_runtest.sh index e1eb7b5..3cb5a44 100755 --- a/test/init_runtest.sh +++ b/test/init_runtest.sh @@ -2,11 +2,10 @@ ################################################################################ # # Copyright (C) 2022 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# SPDX-License-Identifier: GPL-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 +# Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. +# Do not use in new code. # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/kernel_ltp/generate_config.sh b/test/kernel_ltp/generate_config.sh index 2aa7d8f..63cfb85 100755 --- a/test/kernel_ltp/generate_config.sh +++ b/test/kernel_ltp/generate_config.sh @@ -2,11 +2,10 @@ ################################################################################ # # Copyright (C) 2022 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# SPDX-License-Identifier: GPL-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 +# Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. +# Do not use in new code. # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/moduletest/runtest/bin/cpuisolation_t/testcases/bin/cpuisolation01.sh b/test/moduletest/runtest/bin/cpuisolation_t/testcases/bin/cpuisolation01.sh index 9c1963b..f2702e0 100644 --- a/test/moduletest/runtest/bin/cpuisolation_t/testcases/bin/cpuisolation01.sh +++ b/test/moduletest/runtest/bin/cpuisolation_t/testcases/bin/cpuisolation01.sh @@ -2,11 +2,10 @@ ################################################################################ # # Copyright (C) 2022 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# SPDX-License-Identifier: GPL-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 +# Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. +# Do not use in new code. # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/moduletest/runtest/bin/cpuisolation_t/testcases/bin/cpuisolation02.sh b/test/moduletest/runtest/bin/cpuisolation_t/testcases/bin/cpuisolation02.sh index a009e2b..3ba3e7c 100644 --- a/test/moduletest/runtest/bin/cpuisolation_t/testcases/bin/cpuisolation02.sh +++ b/test/moduletest/runtest/bin/cpuisolation_t/testcases/bin/cpuisolation02.sh @@ -2,11 +2,10 @@ ################################################################################ # # Copyright (C) 2022 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# SPDX-License-Identifier: GPL-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 +# Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. +# Do not use in new code. # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/moduletest/runtest/bin/cpuisolation_t/testcases/bin/cpuisolation03.sh b/test/moduletest/runtest/bin/cpuisolation_t/testcases/bin/cpuisolation03.sh index 29c953b..106438c 100644 --- a/test/moduletest/runtest/bin/cpuisolation_t/testcases/bin/cpuisolation03.sh +++ b/test/moduletest/runtest/bin/cpuisolation_t/testcases/bin/cpuisolation03.sh @@ -2,11 +2,10 @@ ################################################################################ # # Copyright (C) 2022 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# SPDX-License-Identifier: GPL-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 +# Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. +# Do not use in new code. # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/moduletest/runtest/bin/cpuisolation_t/testcases/bin/cpuisolation04.sh b/test/moduletest/runtest/bin/cpuisolation_t/testcases/bin/cpuisolation04.sh index f234529..5aa4983 100644 --- a/test/moduletest/runtest/bin/cpuisolation_t/testcases/bin/cpuisolation04.sh +++ b/test/moduletest/runtest/bin/cpuisolation_t/testcases/bin/cpuisolation04.sh @@ -2,11 +2,10 @@ ################################################################################ # # Copyright (C) 2022 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# SPDX-License-Identifier: GPL-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 +# Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. +# Do not use in new code. # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/moduletest/runtest/bin/cpuisolation_t/testcases/bin/cpuisolation05.sh b/test/moduletest/runtest/bin/cpuisolation_t/testcases/bin/cpuisolation05.sh index 181e4ed..ff7914d 100644 --- a/test/moduletest/runtest/bin/cpuisolation_t/testcases/bin/cpuisolation05.sh +++ b/test/moduletest/runtest/bin/cpuisolation_t/testcases/bin/cpuisolation05.sh @@ -2,11 +2,10 @@ ################################################################################ # # Copyright (C) 2022 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# SPDX-License-Identifier: GPL-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 +# Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. +# Do not use in new code. # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/moduletest/runtest/bin/cpuisolation_t/testcases/bin/cpuisolation06.sh b/test/moduletest/runtest/bin/cpuisolation_t/testcases/bin/cpuisolation06.sh index 502693f..1e79874 100644 --- a/test/moduletest/runtest/bin/cpuisolation_t/testcases/bin/cpuisolation06.sh +++ b/test/moduletest/runtest/bin/cpuisolation_t/testcases/bin/cpuisolation06.sh @@ -2,11 +2,10 @@ ################################################################################ # # Copyright (C) 2022 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# SPDX-License-Identifier: GPL-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 +# Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. +# Do not use in new code. # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/moduletest/runtest/bin/cpuisolation_t/testcases/bin/cpuisolation07.sh b/test/moduletest/runtest/bin/cpuisolation_t/testcases/bin/cpuisolation07.sh index 972aeb6..3977584 100644 --- a/test/moduletest/runtest/bin/cpuisolation_t/testcases/bin/cpuisolation07.sh +++ b/test/moduletest/runtest/bin/cpuisolation_t/testcases/bin/cpuisolation07.sh @@ -2,11 +2,10 @@ ################################################################################ # # Copyright (C) 2022 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# SPDX-License-Identifier: GPL-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 +# Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. +# Do not use in new code. # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/moduletest/runtest/bin/cpuisolation_t/testcases/bin/cpuisolation08.sh b/test/moduletest/runtest/bin/cpuisolation_t/testcases/bin/cpuisolation08.sh index 5e41032..7a6cc8d 100644 --- a/test/moduletest/runtest/bin/cpuisolation_t/testcases/bin/cpuisolation08.sh +++ b/test/moduletest/runtest/bin/cpuisolation_t/testcases/bin/cpuisolation08.sh @@ -2,11 +2,10 @@ ################################################################################ # # Copyright (C) 2022 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# SPDX-License-Identifier: GPL-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 +# Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. +# Do not use in new code. # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/moduletest/runtest/bin/cpuisolation_t/testcases/bin/cpuisolation09.sh b/test/moduletest/runtest/bin/cpuisolation_t/testcases/bin/cpuisolation09.sh index f165917..19d3129 100644 --- a/test/moduletest/runtest/bin/cpuisolation_t/testcases/bin/cpuisolation09.sh +++ b/test/moduletest/runtest/bin/cpuisolation_t/testcases/bin/cpuisolation09.sh @@ -2,11 +2,10 @@ ################################################################################ # # Copyright (C) 2022 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# SPDX-License-Identifier: GPL-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 +# Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. +# Do not use in new code. # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/moduletest/runtest/bin/cpuisolation_t/testcases/bin/create_process.sh b/test/moduletest/runtest/bin/cpuisolation_t/testcases/bin/create_process.sh index f2ded6c..461699a 100644 --- a/test/moduletest/runtest/bin/cpuisolation_t/testcases/bin/create_process.sh +++ b/test/moduletest/runtest/bin/cpuisolation_t/testcases/bin/create_process.sh @@ -2,11 +2,10 @@ ################################################################################ # # Copyright (C) 2022 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# SPDX-License-Identifier: GPL-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 +# Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. +# Do not use in new code. # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/moduletest/runtest/bin/cpusetdecouple_cpuhotplug_t/testcases/bin/cpusetdecouple_cpuhotplug01.sh b/test/moduletest/runtest/bin/cpusetdecouple_cpuhotplug_t/testcases/bin/cpusetdecouple_cpuhotplug01.sh index 6a9e31e..f2be9bb 100644 --- a/test/moduletest/runtest/bin/cpusetdecouple_cpuhotplug_t/testcases/bin/cpusetdecouple_cpuhotplug01.sh +++ b/test/moduletest/runtest/bin/cpusetdecouple_cpuhotplug_t/testcases/bin/cpusetdecouple_cpuhotplug01.sh @@ -2,11 +2,10 @@ ################################################################################ # # Copyright (C) 2022 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# SPDX-License-Identifier: GPL-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 +# Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. +# Do not use in new code. # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/moduletest/runtest/bin/cpusetdecouple_cpuhotplug_t/testcases/bin/cpusetdecouple_cpuhotplug02.sh b/test/moduletest/runtest/bin/cpusetdecouple_cpuhotplug_t/testcases/bin/cpusetdecouple_cpuhotplug02.sh index 6da5d98..b6b1ccd 100644 --- a/test/moduletest/runtest/bin/cpusetdecouple_cpuhotplug_t/testcases/bin/cpusetdecouple_cpuhotplug02.sh +++ b/test/moduletest/runtest/bin/cpusetdecouple_cpuhotplug_t/testcases/bin/cpusetdecouple_cpuhotplug02.sh @@ -2,11 +2,10 @@ ################################################################################ # # Copyright (C) 2022 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# SPDX-License-Identifier: GPL-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 +# Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. +# Do not use in new code. # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/moduletest/runtest/bin/cpusetdecouple_cpuhotplug_t/testcases/bin/cpusetdecouple_cpuhotplug03.sh b/test/moduletest/runtest/bin/cpusetdecouple_cpuhotplug_t/testcases/bin/cpusetdecouple_cpuhotplug03.sh index 0a7a696..8757bb5 100644 --- a/test/moduletest/runtest/bin/cpusetdecouple_cpuhotplug_t/testcases/bin/cpusetdecouple_cpuhotplug03.sh +++ b/test/moduletest/runtest/bin/cpusetdecouple_cpuhotplug_t/testcases/bin/cpusetdecouple_cpuhotplug03.sh @@ -2,11 +2,10 @@ ################################################################################ # # Copyright (C) 2022 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# SPDX-License-Identifier: GPL-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 +# Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. +# Do not use in new code. # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/moduletest/runtest/bin/cpusetdecouple_cpuhotplug_t/testcases/bin/cpusetdecouple_cpuhotplug04.sh b/test/moduletest/runtest/bin/cpusetdecouple_cpuhotplug_t/testcases/bin/cpusetdecouple_cpuhotplug04.sh index 8519b34..c6f2b83 100644 --- a/test/moduletest/runtest/bin/cpusetdecouple_cpuhotplug_t/testcases/bin/cpusetdecouple_cpuhotplug04.sh +++ b/test/moduletest/runtest/bin/cpusetdecouple_cpuhotplug_t/testcases/bin/cpusetdecouple_cpuhotplug04.sh @@ -2,11 +2,10 @@ ################################################################################ # # Copyright (C) 2022 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# SPDX-License-Identifier: GPL-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 +# Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. +# Do not use in new code. # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/moduletest/runtest/bin/enhancedf2fs_t/testcases/bin/enhancedf2fs01.sh b/test/moduletest/runtest/bin/enhancedf2fs_t/testcases/bin/enhancedf2fs01.sh index 164e7be..a8f7adc 100644 --- a/test/moduletest/runtest/bin/enhancedf2fs_t/testcases/bin/enhancedf2fs01.sh +++ b/test/moduletest/runtest/bin/enhancedf2fs_t/testcases/bin/enhancedf2fs01.sh @@ -2,11 +2,10 @@ ################################################################################ # # Copyright (C) 2022 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# SPDX-License-Identifier: GPL-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 +# Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. +# Do not use in new code. # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/moduletest/runtest/bin/enhancedf2fs_t/testcases/bin/enhancedf2fs02.sh b/test/moduletest/runtest/bin/enhancedf2fs_t/testcases/bin/enhancedf2fs02.sh index c73804c..0afcdd8 100644 --- a/test/moduletest/runtest/bin/enhancedf2fs_t/testcases/bin/enhancedf2fs02.sh +++ b/test/moduletest/runtest/bin/enhancedf2fs_t/testcases/bin/enhancedf2fs02.sh @@ -2,11 +2,10 @@ ################################################################################ # # Copyright (C) 2022 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# SPDX-License-Identifier: GPL-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 +# Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. +# Do not use in new code. # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/moduletest/runtest/bin/enhancedf2fs_t/testcases/bin/enhancedf2fs03.sh b/test/moduletest/runtest/bin/enhancedf2fs_t/testcases/bin/enhancedf2fs03.sh index 5f878b5..4b1f50f 100644 --- a/test/moduletest/runtest/bin/enhancedf2fs_t/testcases/bin/enhancedf2fs03.sh +++ b/test/moduletest/runtest/bin/enhancedf2fs_t/testcases/bin/enhancedf2fs03.sh @@ -2,11 +2,10 @@ ################################################################################ # # Copyright (C) 2022 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# SPDX-License-Identifier: GPL-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 +# Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. +# Do not use in new code. # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/moduletest/runtest/bin/enhancedf2fs_t/testcases/bin/enhancedf2fs05.sh b/test/moduletest/runtest/bin/enhancedf2fs_t/testcases/bin/enhancedf2fs05.sh index 4560dc6..3a5f788 100644 --- a/test/moduletest/runtest/bin/enhancedf2fs_t/testcases/bin/enhancedf2fs05.sh +++ b/test/moduletest/runtest/bin/enhancedf2fs_t/testcases/bin/enhancedf2fs05.sh @@ -2,11 +2,10 @@ ################################################################################ # # Copyright (C) 2022 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# SPDX-License-Identifier: GPL-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 +# Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. +# Do not use in new code. # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/moduletest/runtest/bin/enhancedf2fs_t/testcases/bin/enhancedf2fs07.sh b/test/moduletest/runtest/bin/enhancedf2fs_t/testcases/bin/enhancedf2fs07.sh index aeb8c7c..a749a3f 100644 --- a/test/moduletest/runtest/bin/enhancedf2fs_t/testcases/bin/enhancedf2fs07.sh +++ b/test/moduletest/runtest/bin/enhancedf2fs_t/testcases/bin/enhancedf2fs07.sh @@ -2,11 +2,10 @@ ################################################################################ # # Copyright (C) 2022 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# SPDX-License-Identifier: GPL-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 +# Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. +# Do not use in new code. # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/moduletest/runtest/bin/enhancedf2fs_t/testcases/bin/enhancedf2fs08.sh b/test/moduletest/runtest/bin/enhancedf2fs_t/testcases/bin/enhancedf2fs08.sh index a94e88c..77a2946 100644 --- a/test/moduletest/runtest/bin/enhancedf2fs_t/testcases/bin/enhancedf2fs08.sh +++ b/test/moduletest/runtest/bin/enhancedf2fs_t/testcases/bin/enhancedf2fs08.sh @@ -2,11 +2,10 @@ ################################################################################ # # Copyright (C) 2022 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# SPDX-License-Identifier: GPL-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 +# Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. +# Do not use in new code. # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/moduletest/runtest/bin/enhancedf2fs_t/testcases/bin/enhancedf2fs09.sh b/test/moduletest/runtest/bin/enhancedf2fs_t/testcases/bin/enhancedf2fs09.sh index e5d0101..8700731 100644 --- a/test/moduletest/runtest/bin/enhancedf2fs_t/testcases/bin/enhancedf2fs09.sh +++ b/test/moduletest/runtest/bin/enhancedf2fs_t/testcases/bin/enhancedf2fs09.sh @@ -2,11 +2,10 @@ ################################################################################ # # Copyright (C) 2022 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# SPDX-License-Identifier: GPL-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 +# Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. +# Do not use in new code. # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/moduletest/runtest/bin/enhancedf2fs_t/testcases/bin/enhancedf2fs10.sh b/test/moduletest/runtest/bin/enhancedf2fs_t/testcases/bin/enhancedf2fs10.sh index f0cb3ad..ebafc0f 100644 --- a/test/moduletest/runtest/bin/enhancedf2fs_t/testcases/bin/enhancedf2fs10.sh +++ b/test/moduletest/runtest/bin/enhancedf2fs_t/testcases/bin/enhancedf2fs10.sh @@ -2,11 +2,10 @@ ################################################################################ # # Copyright (C) 2022 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# SPDX-License-Identifier: GPL-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 +# Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. +# Do not use in new code. # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/moduletest/runtest/bin/enhancedf2fs_t/testcases/bin/enhancedf2fs11.sh b/test/moduletest/runtest/bin/enhancedf2fs_t/testcases/bin/enhancedf2fs11.sh index 8675144..b1bc0b9 100644 --- a/test/moduletest/runtest/bin/enhancedf2fs_t/testcases/bin/enhancedf2fs11.sh +++ b/test/moduletest/runtest/bin/enhancedf2fs_t/testcases/bin/enhancedf2fs11.sh @@ -2,11 +2,10 @@ ################################################################################ # # Copyright (C) 2022 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# SPDX-License-Identifier: GPL-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 +# Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. +# Do not use in new code. # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/moduletest/runtest/bin/enhancedf2fs_t/testcases/bin/enhancedf2fs12.sh b/test/moduletest/runtest/bin/enhancedf2fs_t/testcases/bin/enhancedf2fs12.sh index cad1a13..aaca37e 100644 --- a/test/moduletest/runtest/bin/enhancedf2fs_t/testcases/bin/enhancedf2fs12.sh +++ b/test/moduletest/runtest/bin/enhancedf2fs_t/testcases/bin/enhancedf2fs12.sh @@ -2,11 +2,10 @@ ################################################################################ # # Copyright (C) 2022 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# SPDX-License-Identifier: GPL-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 +# Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. +# Do not use in new code. # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/moduletest/runtest/bin/enhancedf2fs_t/testcases/bin/equilibrium_init.sh b/test/moduletest/runtest/bin/enhancedf2fs_t/testcases/bin/equilibrium_init.sh index 78881ce..0ce081a 100644 --- a/test/moduletest/runtest/bin/enhancedf2fs_t/testcases/bin/equilibrium_init.sh +++ b/test/moduletest/runtest/bin/enhancedf2fs_t/testcases/bin/equilibrium_init.sh @@ -2,11 +2,10 @@ ################################################################################ # # Copyright (C) 2022 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# SPDX-License-Identifier: GPL-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 +# Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. +# Do not use in new code. # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/moduletest/runtest/bin/enhancedf2fs_t/testcases/bin/life_init.sh b/test/moduletest/runtest/bin/enhancedf2fs_t/testcases/bin/life_init.sh index 63e48c9..1e407bd 100644 --- a/test/moduletest/runtest/bin/enhancedf2fs_t/testcases/bin/life_init.sh +++ b/test/moduletest/runtest/bin/enhancedf2fs_t/testcases/bin/life_init.sh @@ -2,11 +2,10 @@ ################################################################################ # # Copyright (C) 2022 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# SPDX-License-Identifier: GPL-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 +# Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. +# Do not use in new code. # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/moduletest/runtest/bin/enhancedf2fs_t/testcases/bin/performance_init.sh b/test/moduletest/runtest/bin/enhancedf2fs_t/testcases/bin/performance_init.sh index 52ff1f5..b38e723 100644 --- a/test/moduletest/runtest/bin/enhancedf2fs_t/testcases/bin/performance_init.sh +++ b/test/moduletest/runtest/bin/enhancedf2fs_t/testcases/bin/performance_init.sh @@ -2,11 +2,10 @@ ################################################################################ # # Copyright (C) 2022 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# SPDX-License-Identifier: GPL-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 +# Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. +# Do not use in new code. # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/moduletest/runtest/bin/enhancedf2fs_t/testcases/bin/run_fio.sh b/test/moduletest/runtest/bin/enhancedf2fs_t/testcases/bin/run_fio.sh index ffc3f1f..38b7e6c 100644 --- a/test/moduletest/runtest/bin/enhancedf2fs_t/testcases/bin/run_fio.sh +++ b/test/moduletest/runtest/bin/enhancedf2fs_t/testcases/bin/run_fio.sh @@ -2,11 +2,10 @@ ################################################################################ # # Copyright (C) 2022 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# SPDX-License-Identifier: GPL-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 +# Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. +# Do not use in new code. # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/moduletest/runtest/bin/enhancedf2fs_t_init.sh b/test/moduletest/runtest/bin/enhancedf2fs_t_init.sh index 44f4e31..5a6f483 100644 --- a/test/moduletest/runtest/bin/enhancedf2fs_t_init.sh +++ b/test/moduletest/runtest/bin/enhancedf2fs_t_init.sh @@ -2,11 +2,10 @@ ################################################################################ # # Copyright (C) 2022 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# SPDX-License-Identifier: GPL-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 +# Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. +# Do not use in new code. # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/moduletest/runtest/bin/enhancedf2fs_t_uninit.sh b/test/moduletest/runtest/bin/enhancedf2fs_t_uninit.sh index 9e50628..fda31b5 100644 --- a/test/moduletest/runtest/bin/enhancedf2fs_t_uninit.sh +++ b/test/moduletest/runtest/bin/enhancedf2fs_t_uninit.sh @@ -2,11 +2,10 @@ ################################################################################ # # Copyright (C) 2022 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# SPDX-License-Identifier: GPL-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 +# Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. +# Do not use in new code. # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/moduletest/runtest/bin/enhancedswap_t/testcases/bin/enhancedswap01.sh b/test/moduletest/runtest/bin/enhancedswap_t/testcases/bin/enhancedswap01.sh index 0f63380..388c952 100644 --- a/test/moduletest/runtest/bin/enhancedswap_t/testcases/bin/enhancedswap01.sh +++ b/test/moduletest/runtest/bin/enhancedswap_t/testcases/bin/enhancedswap01.sh @@ -2,11 +2,10 @@ ################################################################################ # # Copyright (C) 2022 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# SPDX-License-Identifier: GPL-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 +# Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. +# Do not use in new code. # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/moduletest/runtest/bin/enhancedswap_t/testcases/bin/enhancedswap02.sh b/test/moduletest/runtest/bin/enhancedswap_t/testcases/bin/enhancedswap02.sh index c17df61..bf122bd 100644 --- a/test/moduletest/runtest/bin/enhancedswap_t/testcases/bin/enhancedswap02.sh +++ b/test/moduletest/runtest/bin/enhancedswap_t/testcases/bin/enhancedswap02.sh @@ -2,11 +2,10 @@ ################################################################################ # # Copyright (C) 2022 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# SPDX-License-Identifier: GPL-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 +# Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. +# Do not use in new code. # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/moduletest/runtest/bin/enhancedswap_t/testcases/bin/enhancedswap03.sh b/test/moduletest/runtest/bin/enhancedswap_t/testcases/bin/enhancedswap03.sh index 3ce23b6..75bc11d 100644 --- a/test/moduletest/runtest/bin/enhancedswap_t/testcases/bin/enhancedswap03.sh +++ b/test/moduletest/runtest/bin/enhancedswap_t/testcases/bin/enhancedswap03.sh @@ -2,11 +2,10 @@ ################################################################################ # # Copyright (C) 2022 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# SPDX-License-Identifier: GPL-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 +# Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. +# Do not use in new code. # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/moduletest/runtest/bin/enhancedswap_t/testcases/bin/enhancedswap04.sh b/test/moduletest/runtest/bin/enhancedswap_t/testcases/bin/enhancedswap04.sh index 4082008..8562f96 100644 --- a/test/moduletest/runtest/bin/enhancedswap_t/testcases/bin/enhancedswap04.sh +++ b/test/moduletest/runtest/bin/enhancedswap_t/testcases/bin/enhancedswap04.sh @@ -2,11 +2,10 @@ ################################################################################ # # Copyright (C) 2022 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# SPDX-License-Identifier: GPL-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 +# Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. +# Do not use in new code. # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/moduletest/runtest/bin/enhancedswap_t/testcases/bin/enhancedswap05.sh b/test/moduletest/runtest/bin/enhancedswap_t/testcases/bin/enhancedswap05.sh index 76ed507..6a3ac9b 100644 --- a/test/moduletest/runtest/bin/enhancedswap_t/testcases/bin/enhancedswap05.sh +++ b/test/moduletest/runtest/bin/enhancedswap_t/testcases/bin/enhancedswap05.sh @@ -2,11 +2,10 @@ ################################################################################ # # Copyright (C) 2022 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# SPDX-License-Identifier: GPL-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 +# Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. +# Do not use in new code. # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/moduletest/runtest/bin/enhancedswap_t_init.sh b/test/moduletest/runtest/bin/enhancedswap_t_init.sh index 404136d..6bf7e18 100644 --- a/test/moduletest/runtest/bin/enhancedswap_t_init.sh +++ b/test/moduletest/runtest/bin/enhancedswap_t_init.sh @@ -2,11 +2,10 @@ ################################################################################ # # Copyright (C) 2022 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# SPDX-License-Identifier: GPL-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 +# Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. +# Do not use in new code. # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/moduletest/runtest/bin/enhancedswap_t_uninit.sh b/test/moduletest/runtest/bin/enhancedswap_t_uninit.sh index 6236024..a49b923 100644 --- a/test/moduletest/runtest/bin/enhancedswap_t_uninit.sh +++ b/test/moduletest/runtest/bin/enhancedswap_t_uninit.sh @@ -2,11 +2,10 @@ ################################################################################ # # Copyright (C) 2022 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# SPDX-License-Identifier: GPL-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 +# Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. +# Do not use in new code. # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/moduletest/runtest/bin/mem_debug_t/testcases/bin/mem_debug01.sh b/test/moduletest/runtest/bin/mem_debug_t/testcases/bin/mem_debug01.sh index 7886afe..6a3b872 100644 --- a/test/moduletest/runtest/bin/mem_debug_t/testcases/bin/mem_debug01.sh +++ b/test/moduletest/runtest/bin/mem_debug_t/testcases/bin/mem_debug01.sh @@ -2,11 +2,10 @@ ################################################################################ # # Copyright (C) 2022 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# SPDX-License-Identifier: GPL-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 +# Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. +# Do not use in new code. # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/moduletest/runtest/bin/mem_debug_t/testcases/bin/mem_debug02.sh b/test/moduletest/runtest/bin/mem_debug_t/testcases/bin/mem_debug02.sh index 90c7d4c..8ba7096 100644 --- a/test/moduletest/runtest/bin/mem_debug_t/testcases/bin/mem_debug02.sh +++ b/test/moduletest/runtest/bin/mem_debug_t/testcases/bin/mem_debug02.sh @@ -2,11 +2,10 @@ ################################################################################ # # Copyright (C) 2022 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# SPDX-License-Identifier: GPL-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 +# Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. +# Do not use in new code. # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/moduletest/runtest/bin/mem_debug_t/testcases/bin/mem_debug03.sh b/test/moduletest/runtest/bin/mem_debug_t/testcases/bin/mem_debug03.sh index e12812d..aa5cf0d 100644 --- a/test/moduletest/runtest/bin/mem_debug_t/testcases/bin/mem_debug03.sh +++ b/test/moduletest/runtest/bin/mem_debug_t/testcases/bin/mem_debug03.sh @@ -2,11 +2,10 @@ ################################################################################ # # Copyright (C) 2022 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# SPDX-License-Identifier: GPL-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 +# Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. +# Do not use in new code. # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/moduletest/runtest/bin/mem_debug_t/testcases/bin/mem_debug04.sh b/test/moduletest/runtest/bin/mem_debug_t/testcases/bin/mem_debug04.sh index fabc90e..06f6164 100644 --- a/test/moduletest/runtest/bin/mem_debug_t/testcases/bin/mem_debug04.sh +++ b/test/moduletest/runtest/bin/mem_debug_t/testcases/bin/mem_debug04.sh @@ -2,11 +2,10 @@ ################################################################################ # # Copyright (C) 2022 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# SPDX-License-Identifier: GPL-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 +# Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. +# Do not use in new code. # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/moduletest/runtest/bin/mem_debug_t/testcases/bin/mem_debug05.sh b/test/moduletest/runtest/bin/mem_debug_t/testcases/bin/mem_debug05.sh index 6287ab0..bf84468 100644 --- a/test/moduletest/runtest/bin/mem_debug_t/testcases/bin/mem_debug05.sh +++ b/test/moduletest/runtest/bin/mem_debug_t/testcases/bin/mem_debug05.sh @@ -2,11 +2,10 @@ ################################################################################ # # Copyright (C) 2022 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# SPDX-License-Identifier: GPL-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 +# Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. +# Do not use in new code. # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/moduletest/runtest/bin/mem_debug_t/testcases/bin/mem_debug06.sh b/test/moduletest/runtest/bin/mem_debug_t/testcases/bin/mem_debug06.sh index 562b82e..fbf84c6 100644 --- a/test/moduletest/runtest/bin/mem_debug_t/testcases/bin/mem_debug06.sh +++ b/test/moduletest/runtest/bin/mem_debug_t/testcases/bin/mem_debug06.sh @@ -2,11 +2,10 @@ ################################################################################ # # Copyright (C) 2022 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# SPDX-License-Identifier: GPL-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 +# Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. +# Do not use in new code. # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/moduletest/runtest/bin/mem_debug_t/testcases/bin/mem_debug07.sh b/test/moduletest/runtest/bin/mem_debug_t/testcases/bin/mem_debug07.sh index 84a406c..a09d448 100644 --- a/test/moduletest/runtest/bin/mem_debug_t/testcases/bin/mem_debug07.sh +++ b/test/moduletest/runtest/bin/mem_debug_t/testcases/bin/mem_debug07.sh @@ -2,11 +2,10 @@ ################################################################################ # # Copyright (C) 2022 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# SPDX-License-Identifier: GPL-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 +# Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. +# Do not use in new code. # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/moduletest/runtest/bin/mem_debug_t/testcases/bin/mem_debug08.sh b/test/moduletest/runtest/bin/mem_debug_t/testcases/bin/mem_debug08.sh index f20b0c9..c4ee052 100644 --- a/test/moduletest/runtest/bin/mem_debug_t/testcases/bin/mem_debug08.sh +++ b/test/moduletest/runtest/bin/mem_debug_t/testcases/bin/mem_debug08.sh @@ -2,11 +2,10 @@ ################################################################################ # # Copyright (C) 2022 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# SPDX-License-Identifier: GPL-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 +# Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. +# Do not use in new code. # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/moduletest/runtest/bin/mem_debug_t/testcases/bin/mem_debug09.sh b/test/moduletest/runtest/bin/mem_debug_t/testcases/bin/mem_debug09.sh index e884f50..b1720a4 100644 --- a/test/moduletest/runtest/bin/mem_debug_t/testcases/bin/mem_debug09.sh +++ b/test/moduletest/runtest/bin/mem_debug_t/testcases/bin/mem_debug09.sh @@ -2,11 +2,10 @@ ################################################################################ # # Copyright (C) 2022 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# SPDX-License-Identifier: GPL-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 +# Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. +# Do not use in new code. # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/moduletest/runtest/bin/mem_debug_t/testcases/bin/mem_debug10.sh b/test/moduletest/runtest/bin/mem_debug_t/testcases/bin/mem_debug10.sh index 9b7524c..d43e358 100644 --- a/test/moduletest/runtest/bin/mem_debug_t/testcases/bin/mem_debug10.sh +++ b/test/moduletest/runtest/bin/mem_debug_t/testcases/bin/mem_debug10.sh @@ -2,11 +2,10 @@ ################################################################################ # # Copyright (C) 2022 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# SPDX-License-Identifier: GPL-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 +# Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. +# Do not use in new code. # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/moduletest/runtest/bin/mem_debug_t_init.sh b/test/moduletest/runtest/bin/mem_debug_t_init.sh index 1455628..2162870 100644 --- a/test/moduletest/runtest/bin/mem_debug_t_init.sh +++ b/test/moduletest/runtest/bin/mem_debug_t_init.sh @@ -2,11 +2,10 @@ ################################################################################ # # Copyright (C) 2022 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# SPDX-License-Identifier: GPL-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 +# Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. +# Do not use in new code. # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/moduletest/runtest/bin/mem_debug_t_uninit.sh b/test/moduletest/runtest/bin/mem_debug_t_uninit.sh index 0f875ed..ec9bbc5 100644 --- a/test/moduletest/runtest/bin/mem_debug_t_uninit.sh +++ b/test/moduletest/runtest/bin/mem_debug_t_uninit.sh @@ -2,11 +2,10 @@ ################################################################################ # # Copyright (C) 2022 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# SPDX-License-Identifier: GPL-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 +# Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. +# Do not use in new code. # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/moduletest/runtest/bin/sched_rtg_t/testcases/bin/create_process.sh b/test/moduletest/runtest/bin/sched_rtg_t/testcases/bin/create_process.sh index 205ffa6..6a9521c 100644 --- a/test/moduletest/runtest/bin/sched_rtg_t/testcases/bin/create_process.sh +++ b/test/moduletest/runtest/bin/sched_rtg_t/testcases/bin/create_process.sh @@ -2,11 +2,10 @@ ################################################################################ # # Copyright (C) 2022 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# SPDX-License-Identifier: GPL-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 +# Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. +# Do not use in new code. # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/moduletest/runtest/bin/sched_rtg_t/testcases/bin/sched_rtg01.sh b/test/moduletest/runtest/bin/sched_rtg_t/testcases/bin/sched_rtg01.sh index 87560d1..571c3b4 100644 --- a/test/moduletest/runtest/bin/sched_rtg_t/testcases/bin/sched_rtg01.sh +++ b/test/moduletest/runtest/bin/sched_rtg_t/testcases/bin/sched_rtg01.sh @@ -2,11 +2,10 @@ ################################################################################ # # Copyright (C) 2022 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# SPDX-License-Identifier: GPL-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 +# Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. +# Do not use in new code. # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/moduletest/runtest/bin/sched_rtg_t/testcases/bin/sched_rtg02.sh b/test/moduletest/runtest/bin/sched_rtg_t/testcases/bin/sched_rtg02.sh index 5d565a5..664fdbf 100644 --- a/test/moduletest/runtest/bin/sched_rtg_t/testcases/bin/sched_rtg02.sh +++ b/test/moduletest/runtest/bin/sched_rtg_t/testcases/bin/sched_rtg02.sh @@ -2,11 +2,10 @@ ################################################################################ # # Copyright (C) 2022 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# SPDX-License-Identifier: GPL-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 +# Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. +# Do not use in new code. # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/moduletest/runtest/bin/sched_rtg_t/testcases/bin/sched_rtg03.sh b/test/moduletest/runtest/bin/sched_rtg_t/testcases/bin/sched_rtg03.sh index c64f1ed..d4c0e8f 100644 --- a/test/moduletest/runtest/bin/sched_rtg_t/testcases/bin/sched_rtg03.sh +++ b/test/moduletest/runtest/bin/sched_rtg_t/testcases/bin/sched_rtg03.sh @@ -2,11 +2,10 @@ ################################################################################ # # Copyright (C) 2022 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# SPDX-License-Identifier: GPL-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 +# Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. +# Do not use in new code. # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/moduletest/runtest/bin/sched_rtg_t/testcases/bin/sched_rtg04.sh b/test/moduletest/runtest/bin/sched_rtg_t/testcases/bin/sched_rtg04.sh index 06de2a2..a74fa4d 100644 --- a/test/moduletest/runtest/bin/sched_rtg_t/testcases/bin/sched_rtg04.sh +++ b/test/moduletest/runtest/bin/sched_rtg_t/testcases/bin/sched_rtg04.sh @@ -2,11 +2,10 @@ ################################################################################ # # Copyright (C) 2022 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# SPDX-License-Identifier: GPL-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 +# Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. +# Do not use in new code. # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/moduletest/runtest/bin/sched_rtg_t/testcases/bin/sched_rtg06.sh b/test/moduletest/runtest/bin/sched_rtg_t/testcases/bin/sched_rtg06.sh index 91a3014..337dac9 100644 --- a/test/moduletest/runtest/bin/sched_rtg_t/testcases/bin/sched_rtg06.sh +++ b/test/moduletest/runtest/bin/sched_rtg_t/testcases/bin/sched_rtg06.sh @@ -2,11 +2,10 @@ ################################################################################ # # Copyright (C) 2022 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# SPDX-License-Identifier: GPL-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 +# Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. +# Do not use in new code. # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/moduletest/runtest/lib/libapi.sh b/test/moduletest/runtest/lib/libapi.sh index f86c05a..8616265 100644 --- a/test/moduletest/runtest/lib/libapi.sh +++ b/test/moduletest/runtest/lib/libapi.sh @@ -2,11 +2,10 @@ ################################################################################ # # Copyright (C) 2022 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# SPDX-License-Identifier: GPL-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 +# Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. +# Do not use in new code. # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/moduletest/runtest/lib/tst_oh.sh b/test/moduletest/runtest/lib/tst_oh.sh index 837bd66..3fb9a94 100644 --- a/test/moduletest/runtest/lib/tst_oh.sh +++ b/test/moduletest/runtest/lib/tst_oh.sh @@ -2,11 +2,10 @@ ################################################################################ # # Copyright (C) 2022 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# SPDX-License-Identifier: GPL-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 +# Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. +# Do not use in new code. # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/tracepointtest/emmc.h b/test/tracepointtest/emmc.h index 59e2e6f..290da58 100644 --- a/test/tracepointtest/emmc.h +++ b/test/tracepointtest/emmc.h @@ -1,10 +1,9 @@ /* * Copyright (c) 2022 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * SPDX-License-Identifier: GPL-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 + * Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. + * Do not use in new code. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/tracepointtest/tracepoint.sh b/test/tracepointtest/tracepoint.sh index 7bccfbd..440369f 100755 --- a/test/tracepointtest/tracepoint.sh +++ b/test/tracepointtest/tracepoint.sh @@ -2,11 +2,10 @@ ################################################################################ # # Copyright (C) 2022 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# SPDX-License-Identifier: GPL-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 +# Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. +# Do not use in new code. # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/tracepointtest/tracepoint_test/tracepoint_test.c b/test/tracepointtest/tracepoint_test/tracepoint_test.c index 99343d6..99b7b37 100644 --- a/test/tracepointtest/tracepoint_test/tracepoint_test.c +++ b/test/tracepointtest/tracepoint_test/tracepoint_test.c @@ -1,10 +1,9 @@ /* * Copyright (c) 2022 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * SPDX-License-Identifier: GPL-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 + * Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. + * Do not use in new code. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/tracepointtest/tracepointtestko.sh b/test/tracepointtest/tracepointtestko.sh index 653c747..b3e7e1e 100755 --- a/test/tracepointtest/tracepointtestko.sh +++ b/test/tracepointtest/tracepointtestko.sh @@ -2,11 +2,10 @@ ################################################################################ # # Copyright (C) 2022 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# SPDX-License-Identifier: GPL-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 +# Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. +# Do not use in new code. # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/tracepointtest/vendoramlemmcpartition_test/vendoramlemmcpartition_test.c b/test/tracepointtest/vendoramlemmcpartition_test/vendoramlemmcpartition_test.c index d3042a4..bca8482 100644 --- a/test/tracepointtest/vendoramlemmcpartition_test/vendoramlemmcpartition_test.c +++ b/test/tracepointtest/vendoramlemmcpartition_test/vendoramlemmcpartition_test.c @@ -1,10 +1,9 @@ /* * Copyright (c) 2022 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * SPDX-License-Identifier: GPL-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 + * Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. + * Do not use in new code. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/tracepointtest/vendordommap_test/vendordommap_test.c b/test/tracepointtest/vendordommap_test/vendordommap_test.c index c0dcb99..714b0f2 100644 --- a/test/tracepointtest/vendordommap_test/vendordommap_test.c +++ b/test/tracepointtest/vendordommap_test/vendordommap_test.c @@ -1,10 +1,9 @@ /* * Copyright (c) 2022 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * SPDX-License-Identifier: GPL-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 + * Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. + * Do not use in new code. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/tracepointtest/vendordomprotectpkey_test/vendordomprotectpkey_test.c b/test/tracepointtest/vendordomprotectpkey_test/vendordomprotectpkey_test.c index f4722bc..9370a08 100644 --- a/test/tracepointtest/vendordomprotectpkey_test/vendordomprotectpkey_test.c +++ b/test/tracepointtest/vendordomprotectpkey_test/vendordomprotectpkey_test.c @@ -1,10 +1,9 @@ /* * Copyright (c) 2022 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * SPDX-License-Identifier: GPL-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 + * Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. + * Do not use in new code. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/tracepointtest/vendorfakebootpartition_test/vendorfakebootpartition_test.c b/test/tracepointtest/vendorfakebootpartition_test/vendorfakebootpartition_test.c index 7b8457b..dbf9810 100644 --- a/test/tracepointtest/vendorfakebootpartition_test/vendorfakebootpartition_test.c +++ b/test/tracepointtest/vendorfakebootpartition_test/vendorfakebootpartition_test.c @@ -1,10 +1,9 @@ /* * Copyright (c) 2022 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * SPDX-License-Identifier: GPL-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 + * Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. + * Do not use in new code. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/unittest/accesstokenid/accesstokenid_test.cpp b/test/unittest/accesstokenid/accesstokenid_test.cpp index abdfd47..5ba93c9 100644 --- a/test/unittest/accesstokenid/accesstokenid_test.cpp +++ b/test/unittest/accesstokenid/accesstokenid_test.cpp @@ -1,10 +1,9 @@ /* * Copyright (c) 2022 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * SPDX-License-Identifier: GPL-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 + * Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. + * Do not use in new code. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/test/unittest/accesstokenid/accesstokenid_test.h b/test/unittest/accesstokenid/accesstokenid_test.h index 1c00aef..d09d169 100644 --- a/test/unittest/accesstokenid/accesstokenid_test.h +++ b/test/unittest/accesstokenid/accesstokenid_test.h @@ -1,10 +1,9 @@ /* * Copyright (c) 2022 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 +# SPDX-License-Identifier: GPL-2.0 +# +# Legacy blkg rwstat helpers enabled by CONFIG_BLK_CGROUP_RWSTAT. +# Do not use in new code. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, -- Gitee