diff --git a/test/fuzztest/BUILD.gn b/test/fuzztest/BUILD.gn index 8fef0e8d68157fb36a10cdab0fabb9e94f5463c9..a9736f675742cd7621edb9b42baede0592c39b25 100644 --- a/test/fuzztest/BUILD.gn +++ b/test/fuzztest/BUILD.gn @@ -27,7 +27,7 @@ ohos_static_library("libfuzz_utils") { } ##############################fuzztest########################################## -ohos_fuzztest("DoRebootFuzzTest") { +ohos_fuzztest("test_startup_DoRebootFuzzTest") { module_out_path = module_output_path include_dirs = [ @@ -48,12 +48,12 @@ ohos_fuzztest("DoRebootFuzzTest") { "-Wno-unused-variable", "-fno-omit-frame-pointer", ] - sources = [ "DoReboot_fuzzer/DoReboot_fuzzer.cpp" ] + sources = [ "test_startup_DoReboot_fuzzer/test_startup_DoReboot_fuzzer.cpp" ] defines = [ "STARTUP_INIT_TEST" ] } -ohos_fuzztest("GetControlFileFuzzTest") { +ohos_fuzztest("test_startup_GetControlFileFuzzTest") { module_out_path = module_output_path include_dirs = [ @@ -74,12 +74,14 @@ ohos_fuzztest("GetControlFileFuzzTest") { "-Wno-unused-variable", "-fno-omit-frame-pointer", ] - sources = [ "GetControlFile_fuzzer/GetControlFile_fuzzer.cpp" ] + sources = [ + "test_startup_GetControlFile_fuzzer/test_startup_GetControlFile_fuzzer.cpp", + ] defines = [ "STARTUP_INIT_TEST" ] } -ohos_fuzztest("GetControlSocketFuzzTest") { +ohos_fuzztest("test_startup_GetControlSocketFuzzTest") { module_out_path = module_output_path include_dirs = [ @@ -99,12 +101,12 @@ ohos_fuzztest("GetControlSocketFuzzTest") { "-Wno-unused-variable", "-fno-omit-frame-pointer", ] - sources = [ "GetControlSocket_fuzzer/GetControlSocket_fuzzer.cpp" ] + sources = [ "test_startup_GetControlSocket_fuzzer/test_startup_GetControlSocket_fuzzer.cpp" ] defines = [ "STARTUP_INIT_TEST" ] } -ohos_fuzztest("MountAllFstabFuzzTest") { +ohos_fuzztest("test_startup_MountAllFstabFuzzTest") { module_out_path = module_output_path include_dirs = [ @@ -126,12 +128,14 @@ ohos_fuzztest("MountAllFstabFuzzTest") { "-Wno-unused-variable", "-fno-omit-frame-pointer", ] - sources = [ "MountAllFstab_fuzzer/MountAllFstab_fuzzer.cpp" ] + sources = [ + "test_startup_MountAllFstab_fuzzer/test_startup_MountAllFstab_fuzzer.cpp", + ] defines = [ "STARTUP_INIT_TEST" ] } -ohos_fuzztest("ReadFileInDirFuzzTest") { +ohos_fuzztest("test_startup_ReadFileInDirFuzzTest") { module_out_path = module_output_path include_dirs = [ @@ -152,12 +156,14 @@ ohos_fuzztest("ReadFileInDirFuzzTest") { "-Wno-unused-variable", "-fno-omit-frame-pointer", ] - sources = [ "ReadFileInDir_fuzzer/ReadFileInDir_fuzzer.cpp" ] + sources = [ + "test_startup_ReadFileInDir_fuzzer/test_startup_ReadFileInDir_fuzzer.cpp", + ] defines = [ "STARTUP_INIT_TEST" ] } -ohos_fuzztest("ServiceControlStartFuzzTest") { +ohos_fuzztest("test_startup_ServiceControlStartFuzzTest") { module_out_path = module_output_path include_dirs = [ @@ -176,12 +182,12 @@ ohos_fuzztest("ServiceControlStartFuzzTest") { "-Wno-unused-variable", "-fno-omit-frame-pointer", ] - sources = [ "ServiceControlStart_fuzzer/ServiceControlStart_fuzzer.cpp" ] + sources = [ "test_startup_ServiceControlStart_fuzzer/test_startup_ServiceControlStart_fuzzer.cpp" ] defines = [ "STARTUP_INIT_TEST" ] } -ohos_fuzztest("ServiceControlStopFuzzTest") { +ohos_fuzztest("test_startup_ServiceControlStopFuzzTest") { module_out_path = module_output_path include_dirs = [ @@ -200,12 +206,12 @@ ohos_fuzztest("ServiceControlStopFuzzTest") { "-Wno-unused-variable", "-fno-omit-frame-pointer", ] - sources = [ "ServiceControlStop_fuzzer/ServiceControlStop_fuzzer.cpp" ] + sources = [ "test_startup_ServiceControlStop_fuzzer/test_startup_ServiceControlStop_fuzzer.cpp" ] defines = [ "STARTUP_INIT_TEST" ] } -ohos_fuzztest("SystemDumpParametersFuzzTest") { +ohos_fuzztest("test_startup_SystemDumpParametersFuzzTest") { module_out_path = module_output_path include_dirs = [ @@ -227,12 +233,12 @@ ohos_fuzztest("SystemDumpParametersFuzzTest") { "-Wno-unused-variable", "-fno-omit-frame-pointer", ] - sources = [ "SystemDumpParameters_fuzzer/SystemDumpParameters_fuzzer.cpp" ] + sources = [ "test_startup_SystemDumpParameters_fuzzer/test_startup_SystemDumpParameters_fuzzer.cpp" ] defines = [ "STARTUP_INIT_TEST" ] } -ohos_fuzztest("SystemFindParameterFuzzTest") { +ohos_fuzztest("test_startup_SystemFindParameterFuzzTest") { module_out_path = module_output_path include_dirs = [ @@ -253,12 +259,12 @@ ohos_fuzztest("SystemFindParameterFuzzTest") { "-Wno-unused-variable", "-fno-omit-frame-pointer", ] - sources = [ "SystemFindParameter_fuzzer/SystemFindParameter_fuzzer.cpp" ] + sources = [ "test_startup_SystemFindParameter_fuzzer/test_startup_SystemFindParameter_fuzzer.cpp" ] defines = [ "STARTUP_INIT_TEST" ] } -ohos_fuzztest("SystemGetParameterFuzzTest") { +ohos_fuzztest("test_startup_SystemGetParameterFuzzTest") { module_out_path = module_output_path include_dirs = [ @@ -279,12 +285,12 @@ ohos_fuzztest("SystemGetParameterFuzzTest") { "-Wno-unused-variable", "-fno-omit-frame-pointer", ] - sources = [ "SystemGetParameter_fuzzer/SystemGetParameter_fuzzer.cpp" ] + sources = [ "test_startup_SystemGetParameter_fuzzer/test_startup_SystemGetParameter_fuzzer.cpp" ] defines = [ "STARTUP_INIT_TEST" ] } -ohos_fuzztest("SystemGetParameterCommitIdFuzzTest") { +ohos_fuzztest("test_startup_SystemGetParameterCommitIdFuzzTest") { module_out_path = module_output_path include_dirs = [ @@ -305,14 +311,12 @@ ohos_fuzztest("SystemGetParameterCommitIdFuzzTest") { "-Wno-unused-variable", "-fno-omit-frame-pointer", ] - sources = [ - "SystemGetParameterCommitId_fuzzer/SystemGetParameterCommitId_fuzzer.cpp", - ] + sources = [ "test_startup_SystemGetParameterCommitId_fuzzer/test_startup_SystemGetParameterCommitId_fuzzer.cpp" ] defines = [ "STARTUP_INIT_TEST" ] } -ohos_fuzztest("SystemGetParameterNameFuzzTest") { +ohos_fuzztest("test_startup_SystemGetParameterNameFuzzTest") { module_out_path = module_output_path include_dirs = [ @@ -333,13 +337,12 @@ ohos_fuzztest("SystemGetParameterNameFuzzTest") { "-Wno-unused-variable", "-fno-omit-frame-pointer", ] - sources = - [ "SystemGetParameterName_fuzzer/SystemGetParameterName_fuzzer.cpp" ] + sources = [ "test_startup_SystemGetParameterName_fuzzer/test_startup_SystemGetParameterName_fuzzer.cpp" ] defines = [ "STARTUP_INIT_TEST" ] } -ohos_fuzztest("SystemGetParameterValueFuzzTest") { +ohos_fuzztest("test_startup_SystemGetParameterValueFuzzTest") { module_out_path = module_output_path include_dirs = [ @@ -360,13 +363,12 @@ ohos_fuzztest("SystemGetParameterValueFuzzTest") { "-Wno-unused-variable", "-fno-omit-frame-pointer", ] - sources = - [ "SystemGetParameterValue_fuzzer/SystemGetParameterValue_fuzzer.cpp" ] + sources = [ "test_startup_SystemGetParameterValue_fuzzer/test_startup_SystemGetParameterValue_fuzzer.cpp" ] defines = [ "STARTUP_INIT_TEST" ] } -ohos_fuzztest("SystemSetParameterFuzztest") { +ohos_fuzztest("test_startup_SystemSetParameterFuzztest") { module_out_path = module_output_path include_dirs = [ @@ -387,12 +389,12 @@ ohos_fuzztest("SystemSetParameterFuzztest") { "-Wno-unused-variable", "-fno-omit-frame-pointer", ] - sources = [ "SystemSetParameter_fuzzer/SystemSetParameter_fuzzer.cpp" ] + sources = [ "test_startup_SystemSetParameter_fuzzer/test_startup_SystemSetParameter_fuzzer.cpp" ] defines = [ "STARTUP_INIT_TEST" ] } -ohos_fuzztest("SystemTraversalParameterFuzztest") { +ohos_fuzztest("test_startup_SystemTraversalParameterFuzztest") { module_out_path = module_output_path include_dirs = [ @@ -416,13 +418,12 @@ ohos_fuzztest("SystemTraversalParameterFuzztest") { "-Wno-unused-variable", "-fno-omit-frame-pointer", ] - sources = - [ "SystemTraversalParameter_fuzzer/SystemTraversalParameter_fuzzer.cpp" ] + sources = [ "test_startup_SystemTraversalParameter_fuzzer/test_startup_SystemTraversalParameter_fuzzer.cpp" ] defines = [ "STARTUP_INIT_TEST" ] } -ohos_fuzztest("SystemWaitParameterFuzzTest") { +ohos_fuzztest("test_startup_SystemWaitParameterFuzzTest") { module_out_path = module_output_path include_dirs = [ @@ -443,12 +444,12 @@ ohos_fuzztest("SystemWaitParameterFuzzTest") { "-Wno-unused-variable", "-fno-omit-frame-pointer", ] - sources = [ "SystemWaitParameter_fuzzer/SystemWaitParameter_fuzzer.cpp" ] + sources = [ "test_startup_SystemWaitParameter_fuzzer/test_startup_SystemWaitParameter_fuzzer.cpp" ] defines = [ "STARTUP_INIT_TEST" ] } -ohos_fuzztest("SystemWatchParameterFuzzTest") { +ohos_fuzztest("test_startup_SystemWatchParameterFuzzTest") { module_out_path = module_output_path include_dirs = [ @@ -478,12 +479,12 @@ ohos_fuzztest("SystemWatchParameterFuzzTest") { "-Wno-unused-variable", "-fno-omit-frame-pointer", ] - sources = [ "SystemWatchParameter_fuzzer/SystemWatchParameter_fuzzer.cpp" ] + sources = [ "test_startup_SystemWatchParameter_fuzzer/test_startup_SystemWatchParameter_fuzzer.cpp" ] defines = [ "STARTUP_INIT_TEST" ] } -ohos_fuzztest("UmountAllFstabFuzzTest") { +ohos_fuzztest("test_startup_UmountAllFstabFuzzTest") { module_out_path = module_output_path include_dirs = [ @@ -505,7 +506,9 @@ ohos_fuzztest("UmountAllFstabFuzzTest") { "-Wno-unused-variable", "-fno-omit-frame-pointer", ] - sources = [ "UmountAllFstab_fuzzer/UmountAllFstab_fuzzer.cpp" ] + sources = [ + "test_startup_UmountAllFstab_fuzzer/test_startup_UmountAllFstab_fuzzer.cpp", + ] defines = [ "STARTUP_INIT_TEST" ] } @@ -516,24 +519,24 @@ group("fuzztest") { deps = [] deps += [ # deps file - ":DoRebootFuzzTest", - ":GetControlFileFuzzTest", - ":GetControlSocketFuzzTest", - ":MountAllFstabFuzzTest", - ":ReadFileInDirFuzzTest", - ":ServiceControlStartFuzzTest", - ":ServiceControlStopFuzzTest", - ":SystemDumpParametersFuzzTest", - ":SystemFindParameterFuzzTest", - ":SystemGetParameterCommitIdFuzzTest", - ":SystemGetParameterFuzzTest", - ":SystemGetParameterNameFuzzTest", - ":SystemGetParameterValueFuzzTest", - ":SystemSetParameterFuzztest", - ":SystemTraversalParameterFuzztest", - ":SystemWaitParameterFuzzTest", - ":SystemWatchParameterFuzzTest", - ":UmountAllFstabFuzzTest", + ":test_startup_DoRebootFuzzTest", + ":test_startup_GetControlFileFuzzTest", + ":test_startup_GetControlSocketFuzzTest", + ":test_startup_MountAllFstabFuzzTest", + ":test_startup_ReadFileInDirFuzzTest", + ":test_startup_ServiceControlStartFuzzTest", + ":test_startup_ServiceControlStopFuzzTest", + ":test_startup_SystemDumpParametersFuzzTest", + ":test_startup_SystemFindParameterFuzzTest", + ":test_startup_SystemGetParameterCommitIdFuzzTest", + ":test_startup_SystemGetParameterFuzzTest", + ":test_startup_SystemGetParameterNameFuzzTest", + ":test_startup_SystemGetParameterValueFuzzTest", + ":test_startup_SystemSetParameterFuzztest", + ":test_startup_SystemTraversalParameterFuzztest", + ":test_startup_SystemWaitParameterFuzzTest", + ":test_startup_SystemWatchParameterFuzzTest", + ":test_startup_UmountAllFstabFuzzTest", ] } ############################################################################### diff --git a/test/fuzztest/DoReboot_fuzzer/DoReboot_fuzzer.cpp b/test/fuzztest/test_startup_DoReboot_fuzzer/test_startup_DoReboot_fuzzer.cpp similarity index 96% rename from test/fuzztest/DoReboot_fuzzer/DoReboot_fuzzer.cpp rename to test/fuzztest/test_startup_DoReboot_fuzzer/test_startup_DoReboot_fuzzer.cpp index dac70173d80af56aa7570d79b06a8137626bd280..b814a5f692199315bc1e101547c519f2be67a9fd 100644 --- a/test/fuzztest/DoReboot_fuzzer/DoReboot_fuzzer.cpp +++ b/test/fuzztest/test_startup_DoReboot_fuzzer/test_startup_DoReboot_fuzzer.cpp @@ -13,7 +13,7 @@ * limitations under the License. */ -#include "DoReboot_fuzzer.h" +#include "test_startup_DoReboot_fuzzer.h" #include "init_reboot.h" namespace OHOS { diff --git a/test/fuzztest/DoReboot_fuzzer/DoReboot_fuzzer.h b/test/fuzztest/test_startup_DoReboot_fuzzer/test_startup_DoReboot_fuzzer.h similarity index 100% rename from test/fuzztest/DoReboot_fuzzer/DoReboot_fuzzer.h rename to test/fuzztest/test_startup_DoReboot_fuzzer/test_startup_DoReboot_fuzzer.h diff --git a/test/fuzztest/GetControlFile_fuzzer/GetControlFile_fuzzer.cpp b/test/fuzztest/test_startup_GetControlFile_fuzzer/test_startup_GetControlFile_fuzzer.cpp similarity index 95% rename from test/fuzztest/GetControlFile_fuzzer/GetControlFile_fuzzer.cpp rename to test/fuzztest/test_startup_GetControlFile_fuzzer/test_startup_GetControlFile_fuzzer.cpp index bd21922fd6eca56db1f6dd4da6e0b646fda54c70..300f0ac34f590c4eb5f33da81d0656e7b09a770f 100644 --- a/test/fuzztest/GetControlFile_fuzzer/GetControlFile_fuzzer.cpp +++ b/test/fuzztest/test_startup_GetControlFile_fuzzer/test_startup_GetControlFile_fuzzer.cpp @@ -13,7 +13,7 @@ * limitations under the License. */ -#include "GetControlFile_fuzzer.h" +#include "test_startup_GetControlFile_fuzzer.h" #include "init_file.h" namespace OHOS { diff --git a/test/fuzztest/GetControlFile_fuzzer/GetControlFile_fuzzer.h b/test/fuzztest/test_startup_GetControlFile_fuzzer/test_startup_GetControlFile_fuzzer.h similarity index 100% rename from test/fuzztest/GetControlFile_fuzzer/GetControlFile_fuzzer.h rename to test/fuzztest/test_startup_GetControlFile_fuzzer/test_startup_GetControlFile_fuzzer.h diff --git a/test/fuzztest/GetControlSocket_fuzzer/GetControlSocket_fuzzer.cpp b/test/fuzztest/test_startup_GetControlSocket_fuzzer/test_startup_GetControlSocket_fuzzer.cpp similarity index 95% rename from test/fuzztest/GetControlSocket_fuzzer/GetControlSocket_fuzzer.cpp rename to test/fuzztest/test_startup_GetControlSocket_fuzzer/test_startup_GetControlSocket_fuzzer.cpp index 3056eee883bfd06733a0a7d8762664618dcd3d90..35380e7ee62170e156e6dde19fe44f8d2d6aa890 100644 --- a/test/fuzztest/GetControlSocket_fuzzer/GetControlSocket_fuzzer.cpp +++ b/test/fuzztest/test_startup_GetControlSocket_fuzzer/test_startup_GetControlSocket_fuzzer.cpp @@ -13,7 +13,7 @@ * limitations under the License. */ -#include "GetControlSocket_fuzzer.h" +#include "test_startup_GetControlSocket_fuzzer.h" #include "init_socket.h" namespace OHOS { diff --git a/test/fuzztest/GetControlSocket_fuzzer/GetControlSocket_fuzzer.h b/test/fuzztest/test_startup_GetControlSocket_fuzzer/test_startup_GetControlSocket_fuzzer.h similarity index 100% rename from test/fuzztest/GetControlSocket_fuzzer/GetControlSocket_fuzzer.h rename to test/fuzztest/test_startup_GetControlSocket_fuzzer/test_startup_GetControlSocket_fuzzer.h diff --git a/test/fuzztest/MountAllFstab_fuzzer/MountAllFstab_fuzzer.cpp b/test/fuzztest/test_startup_MountAllFstab_fuzzer/test_startup_MountAllFstab_fuzzer.cpp similarity index 97% rename from test/fuzztest/MountAllFstab_fuzzer/MountAllFstab_fuzzer.cpp rename to test/fuzztest/test_startup_MountAllFstab_fuzzer/test_startup_MountAllFstab_fuzzer.cpp index ed140aea60775cf2b3e6c50ee5ca2b2af3ac97d9..bdb2be9377e3ad4c3d80918e66feba52010827fa 100644 --- a/test/fuzztest/MountAllFstab_fuzzer/MountAllFstab_fuzzer.cpp +++ b/test/fuzztest/test_startup_MountAllFstab_fuzzer/test_startup_MountAllFstab_fuzzer.cpp @@ -13,7 +13,7 @@ * limitations under the License. */ -#include "MountAllFstab_fuzzer.h" +#include "test_startup_MountAllFstab_fuzzer.h" #include #include "fs_manager/fs_manager.h" diff --git a/test/fuzztest/MountAllFstab_fuzzer/MountAllFstab_fuzzer.h b/test/fuzztest/test_startup_MountAllFstab_fuzzer/test_startup_MountAllFstab_fuzzer.h similarity index 100% rename from test/fuzztest/MountAllFstab_fuzzer/MountAllFstab_fuzzer.h rename to test/fuzztest/test_startup_MountAllFstab_fuzzer/test_startup_MountAllFstab_fuzzer.h diff --git a/test/fuzztest/ReadFileInDir_fuzzer/ReadFileInDir_fuzzer.cpp b/test/fuzztest/test_startup_ReadFileInDir_fuzzer/test_startup_ReadFileInDir_fuzzer.cpp similarity index 97% rename from test/fuzztest/ReadFileInDir_fuzzer/ReadFileInDir_fuzzer.cpp rename to test/fuzztest/test_startup_ReadFileInDir_fuzzer/test_startup_ReadFileInDir_fuzzer.cpp index 52f3834c13ab84e932460b93b9977610b4a20d7b..1da8eefd440df2aa172807c1fee3e5766ed816f4 100644 --- a/test/fuzztest/ReadFileInDir_fuzzer/ReadFileInDir_fuzzer.cpp +++ b/test/fuzztest/test_startup_ReadFileInDir_fuzzer/test_startup_ReadFileInDir_fuzzer.cpp @@ -13,7 +13,7 @@ * limitations under the License. */ -#include "ReadFileInDir_fuzzer.h" +#include "test_startup_ReadFileInDir_fuzzer.h" #include #include diff --git a/test/fuzztest/ReadFileInDir_fuzzer/ReadFileInDir_fuzzer.h b/test/fuzztest/test_startup_ReadFileInDir_fuzzer/test_startup_ReadFileInDir_fuzzer.h similarity index 100% rename from test/fuzztest/ReadFileInDir_fuzzer/ReadFileInDir_fuzzer.h rename to test/fuzztest/test_startup_ReadFileInDir_fuzzer/test_startup_ReadFileInDir_fuzzer.h diff --git a/test/fuzztest/ServiceControlStart_fuzzer/ServiceControlStart_fuzzer.cpp b/test/fuzztest/test_startup_ServiceControlStart_fuzzer/test_startup_ServiceControlStart_fuzzer.cpp similarity index 95% rename from test/fuzztest/ServiceControlStart_fuzzer/ServiceControlStart_fuzzer.cpp rename to test/fuzztest/test_startup_ServiceControlStart_fuzzer/test_startup_ServiceControlStart_fuzzer.cpp index 521fd265b4e792882a3cfff80eb0aa78eeddfafe..03acfe7d3f06deffc54890b805b58321aa109906 100644 --- a/test/fuzztest/ServiceControlStart_fuzzer/ServiceControlStart_fuzzer.cpp +++ b/test/fuzztest/test_startup_ServiceControlStart_fuzzer/test_startup_ServiceControlStart_fuzzer.cpp @@ -13,7 +13,7 @@ * limitations under the License. */ -#include "ServiceControlStart_fuzzer.h" +#include "test_startup_ServiceControlStart_fuzzer.h" #include "service_control.h" namespace OHOS { diff --git a/test/fuzztest/ServiceControlStart_fuzzer/ServiceControlStart_fuzzer.h b/test/fuzztest/test_startup_ServiceControlStart_fuzzer/test_startup_ServiceControlStart_fuzzer.h similarity index 100% rename from test/fuzztest/ServiceControlStart_fuzzer/ServiceControlStart_fuzzer.h rename to test/fuzztest/test_startup_ServiceControlStart_fuzzer/test_startup_ServiceControlStart_fuzzer.h diff --git a/test/fuzztest/ServiceControlStop_fuzzer/ServiceControlStop_fuzzer.cpp b/test/fuzztest/test_startup_ServiceControlStop_fuzzer/test_startup_ServiceControlStop_fuzzer.cpp similarity index 95% rename from test/fuzztest/ServiceControlStop_fuzzer/ServiceControlStop_fuzzer.cpp rename to test/fuzztest/test_startup_ServiceControlStop_fuzzer/test_startup_ServiceControlStop_fuzzer.cpp index 3313bf529cda7a0b0b24d154a560108a3eed6861..10e529568e00ac844c9cc50fd2e27cf53ace76fe 100644 --- a/test/fuzztest/ServiceControlStop_fuzzer/ServiceControlStop_fuzzer.cpp +++ b/test/fuzztest/test_startup_ServiceControlStop_fuzzer/test_startup_ServiceControlStop_fuzzer.cpp @@ -13,7 +13,7 @@ * limitations under the License. */ -#include "ServiceControlStop_fuzzer.h" +#include "test_startup_ServiceControlStop_fuzzer.h" #include "service_control.h" namespace OHOS { diff --git a/test/fuzztest/ServiceControlStop_fuzzer/ServiceControlStop_fuzzer.h b/test/fuzztest/test_startup_ServiceControlStop_fuzzer/test_startup_ServiceControlStop_fuzzer.h similarity index 100% rename from test/fuzztest/ServiceControlStop_fuzzer/ServiceControlStop_fuzzer.h rename to test/fuzztest/test_startup_ServiceControlStop_fuzzer/test_startup_ServiceControlStop_fuzzer.h diff --git a/test/fuzztest/SystemDumpParameters_fuzzer/SystemDumpParameters_fuzzer.cpp b/test/fuzztest/test_startup_SystemDumpParameters_fuzzer/test_startup_SystemDumpParameters_fuzzer.cpp similarity index 95% rename from test/fuzztest/SystemDumpParameters_fuzzer/SystemDumpParameters_fuzzer.cpp rename to test/fuzztest/test_startup_SystemDumpParameters_fuzzer/test_startup_SystemDumpParameters_fuzzer.cpp index 7247066844a51f61e5f47718782b062d35b6971e..1304b72016a8850db740ee36389cb2b573109438 100644 --- a/test/fuzztest/SystemDumpParameters_fuzzer/SystemDumpParameters_fuzzer.cpp +++ b/test/fuzztest/test_startup_SystemDumpParameters_fuzzer/test_startup_SystemDumpParameters_fuzzer.cpp @@ -13,7 +13,7 @@ * limitations under the License. */ -#include "SystemDumpParameters_fuzzer.h" +#include "test_startup_SystemDumpParameters_fuzzer.h" #include "sys_param.h" #include "fuzz_utils.h" diff --git a/test/fuzztest/SystemDumpParameters_fuzzer/SystemDumpParameters_fuzzer.h b/test/fuzztest/test_startup_SystemDumpParameters_fuzzer/test_startup_SystemDumpParameters_fuzzer.h similarity index 100% rename from test/fuzztest/SystemDumpParameters_fuzzer/SystemDumpParameters_fuzzer.h rename to test/fuzztest/test_startup_SystemDumpParameters_fuzzer/test_startup_SystemDumpParameters_fuzzer.h diff --git a/test/fuzztest/SystemFindParameter_fuzzer/SystemFindParameter_fuzzer.cpp b/test/fuzztest/test_startup_SystemFindParameter_fuzzer/test_startup_SystemFindParameter_fuzzer.cpp similarity index 95% rename from test/fuzztest/SystemFindParameter_fuzzer/SystemFindParameter_fuzzer.cpp rename to test/fuzztest/test_startup_SystemFindParameter_fuzzer/test_startup_SystemFindParameter_fuzzer.cpp index ea1c81b4c9fc020cddb27b31ff9a00627cb7fbfe..ca03159901cd348608e53445e85ac9c4d534831a 100644 --- a/test/fuzztest/SystemFindParameter_fuzzer/SystemFindParameter_fuzzer.cpp +++ b/test/fuzztest/test_startup_SystemFindParameter_fuzzer/test_startup_SystemFindParameter_fuzzer.cpp @@ -13,7 +13,7 @@ * limitations under the License. */ -#include "SystemFindParameter_fuzzer.h" +#include "test_startup_SystemFindParameter_fuzzer.h" #include "sys_param.h" static ParamHandle handle; diff --git a/test/fuzztest/SystemFindParameter_fuzzer/SystemFindParameter_fuzzer.h b/test/fuzztest/test_startup_SystemFindParameter_fuzzer/test_startup_SystemFindParameter_fuzzer.h similarity index 100% rename from test/fuzztest/SystemFindParameter_fuzzer/SystemFindParameter_fuzzer.h rename to test/fuzztest/test_startup_SystemFindParameter_fuzzer/test_startup_SystemFindParameter_fuzzer.h diff --git a/test/fuzztest/SystemGetParameterCommitId_fuzzer/SystemGetParameterCommitId_fuzzer.cpp b/test/fuzztest/test_startup_SystemGetParameterCommitId_fuzzer/test_startup_SystemGetParameterCommitId_fuzzer.cpp similarity index 95% rename from test/fuzztest/SystemGetParameterCommitId_fuzzer/SystemGetParameterCommitId_fuzzer.cpp rename to test/fuzztest/test_startup_SystemGetParameterCommitId_fuzzer/test_startup_SystemGetParameterCommitId_fuzzer.cpp index 149e211bbc1c46923d24cdc8812b6cc92b14f283..afaf5609556af207cf8c71fa0ee0484c2d26ad7a 100644 --- a/test/fuzztest/SystemGetParameterCommitId_fuzzer/SystemGetParameterCommitId_fuzzer.cpp +++ b/test/fuzztest/test_startup_SystemGetParameterCommitId_fuzzer/test_startup_SystemGetParameterCommitId_fuzzer.cpp @@ -13,7 +13,7 @@ * limitations under the License. */ -#include "SystemGetParameterCommitId_fuzzer.h" +#include "test_startup_SystemGetParameterCommitId_fuzzer.h" #include "sys_param.h" namespace OHOS { diff --git a/test/fuzztest/SystemGetParameterCommitId_fuzzer/SystemGetParameterCommitId_fuzzer.h b/test/fuzztest/test_startup_SystemGetParameterCommitId_fuzzer/test_startup_SystemGetParameterCommitId_fuzzer.h similarity index 100% rename from test/fuzztest/SystemGetParameterCommitId_fuzzer/SystemGetParameterCommitId_fuzzer.h rename to test/fuzztest/test_startup_SystemGetParameterCommitId_fuzzer/test_startup_SystemGetParameterCommitId_fuzzer.h diff --git a/test/fuzztest/SystemGetParameterName_fuzzer/SystemGetParameterName_fuzzer.cpp b/test/fuzztest/test_startup_SystemGetParameterName_fuzzer/test_startup_SystemGetParameterName_fuzzer.cpp similarity index 95% rename from test/fuzztest/SystemGetParameterName_fuzzer/SystemGetParameterName_fuzzer.cpp rename to test/fuzztest/test_startup_SystemGetParameterName_fuzzer/test_startup_SystemGetParameterName_fuzzer.cpp index 167f89cd0cd6191bc16d3fe272fa6833f96f3c6a..88ccd1ea2e75ea570a840475578c11913538517b 100644 --- a/test/fuzztest/SystemGetParameterName_fuzzer/SystemGetParameterName_fuzzer.cpp +++ b/test/fuzztest/test_startup_SystemGetParameterName_fuzzer/test_startup_SystemGetParameterName_fuzzer.cpp @@ -13,7 +13,7 @@ * limitations under the License. */ -#include "SystemGetParameterName_fuzzer.h" +#include "test_startup_SystemGetParameterName_fuzzer.h" #include "sys_param.h" namespace OHOS { diff --git a/test/fuzztest/SystemGetParameterName_fuzzer/SystemGetParameterName_fuzzer.h b/test/fuzztest/test_startup_SystemGetParameterName_fuzzer/test_startup_SystemGetParameterName_fuzzer.h similarity index 100% rename from test/fuzztest/SystemGetParameterName_fuzzer/SystemGetParameterName_fuzzer.h rename to test/fuzztest/test_startup_SystemGetParameterName_fuzzer/test_startup_SystemGetParameterName_fuzzer.h diff --git a/test/fuzztest/SystemGetParameterValue_fuzzer/SystemGetParameterValue_fuzzer.cpp b/test/fuzztest/test_startup_SystemGetParameterValue_fuzzer/test_startup_SystemGetParameterValue_fuzzer.cpp similarity index 95% rename from test/fuzztest/SystemGetParameterValue_fuzzer/SystemGetParameterValue_fuzzer.cpp rename to test/fuzztest/test_startup_SystemGetParameterValue_fuzzer/test_startup_SystemGetParameterValue_fuzzer.cpp index 617a6f1b5c6d53f6e433f74c137a39fb2e4590e9..b94227a15ac3fe4d6df1c2cc4b4ac7c3232a6608 100644 --- a/test/fuzztest/SystemGetParameterValue_fuzzer/SystemGetParameterValue_fuzzer.cpp +++ b/test/fuzztest/test_startup_SystemGetParameterValue_fuzzer/test_startup_SystemGetParameterValue_fuzzer.cpp @@ -13,7 +13,7 @@ * limitations under the License. */ -#include "SystemGetParameterValue_fuzzer.h" +#include "test_startup_SystemGetParameterValue_fuzzer.h" #include "sys_param.h" namespace OHOS { diff --git a/test/fuzztest/SystemGetParameterValue_fuzzer/SystemGetParameterValue_fuzzer.h b/test/fuzztest/test_startup_SystemGetParameterValue_fuzzer/test_startup_SystemGetParameterValue_fuzzer.h similarity index 100% rename from test/fuzztest/SystemGetParameterValue_fuzzer/SystemGetParameterValue_fuzzer.h rename to test/fuzztest/test_startup_SystemGetParameterValue_fuzzer/test_startup_SystemGetParameterValue_fuzzer.h diff --git a/test/fuzztest/SystemGetParameter_fuzzer/SystemGetParameter_fuzzer.cpp b/test/fuzztest/test_startup_SystemGetParameter_fuzzer/test_startup_SystemGetParameter_fuzzer.cpp similarity index 95% rename from test/fuzztest/SystemGetParameter_fuzzer/SystemGetParameter_fuzzer.cpp rename to test/fuzztest/test_startup_SystemGetParameter_fuzzer/test_startup_SystemGetParameter_fuzzer.cpp index 6355563bb41222aabf871b9284121fa86d28e46a..06538c3395cc022558cb1892ac141c84a604ed51 100644 --- a/test/fuzztest/SystemGetParameter_fuzzer/SystemGetParameter_fuzzer.cpp +++ b/test/fuzztest/test_startup_SystemGetParameter_fuzzer/test_startup_SystemGetParameter_fuzzer.cpp @@ -13,7 +13,7 @@ * limitations under the License. */ -#include "SystemGetParameter_fuzzer.h" +#include "test_startup_SystemGetParameter_fuzzer.h" #include #include "sys_param.h" diff --git a/test/fuzztest/SystemGetParameter_fuzzer/SystemGetParameter_fuzzer.h b/test/fuzztest/test_startup_SystemGetParameter_fuzzer/test_startup_SystemGetParameter_fuzzer.h similarity index 100% rename from test/fuzztest/SystemGetParameter_fuzzer/SystemGetParameter_fuzzer.h rename to test/fuzztest/test_startup_SystemGetParameter_fuzzer/test_startup_SystemGetParameter_fuzzer.h diff --git a/test/fuzztest/SystemSetParameter_fuzzer/SystemSetParameter_fuzzer.cpp b/test/fuzztest/test_startup_SystemSetParameter_fuzzer/test_startup_SystemSetParameter_fuzzer.cpp similarity index 95% rename from test/fuzztest/SystemSetParameter_fuzzer/SystemSetParameter_fuzzer.cpp rename to test/fuzztest/test_startup_SystemSetParameter_fuzzer/test_startup_SystemSetParameter_fuzzer.cpp index 0c35ad856e4fca9812303fb05cb56df0727cc311..85b6fd1389ed4c7cfc9601dfb9116ecd09a3acce 100644 --- a/test/fuzztest/SystemSetParameter_fuzzer/SystemSetParameter_fuzzer.cpp +++ b/test/fuzztest/test_startup_SystemSetParameter_fuzzer/test_startup_SystemSetParameter_fuzzer.cpp @@ -13,7 +13,7 @@ * limitations under the License. */ -#include "SystemSetParameter_fuzzer.h" +#include "test_startup_SystemSetParameter_fuzzer.h" #include "sys_param.h" namespace OHOS { diff --git a/test/fuzztest/SystemSetParameter_fuzzer/SystemSetParameter_fuzzer.h b/test/fuzztest/test_startup_SystemSetParameter_fuzzer/test_startup_SystemSetParameter_fuzzer.h similarity index 100% rename from test/fuzztest/SystemSetParameter_fuzzer/SystemSetParameter_fuzzer.h rename to test/fuzztest/test_startup_SystemSetParameter_fuzzer/test_startup_SystemSetParameter_fuzzer.h diff --git a/test/fuzztest/SystemTraversalParameter_fuzzer/SystemTraversalParameter_fuzzer.cpp b/test/fuzztest/test_startup_SystemTraversalParameter_fuzzer/test_startup_SystemTraversalParameter_fuzzer.cpp similarity index 97% rename from test/fuzztest/SystemTraversalParameter_fuzzer/SystemTraversalParameter_fuzzer.cpp rename to test/fuzztest/test_startup_SystemTraversalParameter_fuzzer/test_startup_SystemTraversalParameter_fuzzer.cpp index abd29f7c4c56738582c184ceee14d8937b96ec25..a23dbb06b1f8b32f29d3a6d9efc0cd6f9307c2ba 100644 --- a/test/fuzztest/SystemTraversalParameter_fuzzer/SystemTraversalParameter_fuzzer.cpp +++ b/test/fuzztest/test_startup_SystemTraversalParameter_fuzzer/test_startup_SystemTraversalParameter_fuzzer.cpp @@ -13,7 +13,7 @@ * limitations under the License. */ -#include "SystemTraversalParameter_fuzzer.h" +#include "test_startup_SystemTraversalParameter_fuzzer.h" #include "fuzz_utils.h" #include "init.h" diff --git a/test/fuzztest/SystemTraversalParameter_fuzzer/SystemTraversalParameter_fuzzer.h b/test/fuzztest/test_startup_SystemTraversalParameter_fuzzer/test_startup_SystemTraversalParameter_fuzzer.h similarity index 100% rename from test/fuzztest/SystemTraversalParameter_fuzzer/SystemTraversalParameter_fuzzer.h rename to test/fuzztest/test_startup_SystemTraversalParameter_fuzzer/test_startup_SystemTraversalParameter_fuzzer.h diff --git a/test/fuzztest/SystemWaitParameter_fuzzer/SystemWaitParameter_fuzzer.cpp b/test/fuzztest/test_startup_SystemWaitParameter_fuzzer/test_startup_SystemWaitParameter_fuzzer.cpp similarity index 95% rename from test/fuzztest/SystemWaitParameter_fuzzer/SystemWaitParameter_fuzzer.cpp rename to test/fuzztest/test_startup_SystemWaitParameter_fuzzer/test_startup_SystemWaitParameter_fuzzer.cpp index 82bd23a834006a4237ee53ae8307e6e30a1ff382..d76166e2d15092f8d9f2ed570aff87000ecf8c0f 100644 --- a/test/fuzztest/SystemWaitParameter_fuzzer/SystemWaitParameter_fuzzer.cpp +++ b/test/fuzztest/test_startup_SystemWaitParameter_fuzzer/test_startup_SystemWaitParameter_fuzzer.cpp @@ -13,7 +13,7 @@ * limitations under the License. */ -#include "SystemWaitParameter_fuzzer.h" +#include "test_startup_SystemWaitParameter_fuzzer.h" #include "sys_param.h" namespace OHOS { diff --git a/test/fuzztest/SystemWaitParameter_fuzzer/SystemWaitParameter_fuzzer.h b/test/fuzztest/test_startup_SystemWaitParameter_fuzzer/test_startup_SystemWaitParameter_fuzzer.h similarity index 100% rename from test/fuzztest/SystemWaitParameter_fuzzer/SystemWaitParameter_fuzzer.h rename to test/fuzztest/test_startup_SystemWaitParameter_fuzzer/test_startup_SystemWaitParameter_fuzzer.h diff --git a/test/fuzztest/SystemWatchParameter_fuzzer/SystemWatchParameter_fuzzer.cpp b/test/fuzztest/test_startup_SystemWatchParameter_fuzzer/test_startup_SystemWatchParameter_fuzzer.cpp similarity index 96% rename from test/fuzztest/SystemWatchParameter_fuzzer/SystemWatchParameter_fuzzer.cpp rename to test/fuzztest/test_startup_SystemWatchParameter_fuzzer/test_startup_SystemWatchParameter_fuzzer.cpp index 9b1b9238245330d3c9a91cde490a964e4ba74f25..4c8a2a10c6ae7689570a1ff16eba2aacc21d5804 100644 --- a/test/fuzztest/SystemWatchParameter_fuzzer/SystemWatchParameter_fuzzer.cpp +++ b/test/fuzztest/test_startup_SystemWatchParameter_fuzzer/test_startup_SystemWatchParameter_fuzzer.cpp @@ -13,7 +13,7 @@ * limitations under the License. */ -#include "SystemWatchParameter_fuzzer.h" +#include "test_startup_SystemWatchParameter_fuzzer.h" #include "init.h" #include "sys_param.h" diff --git a/test/fuzztest/SystemWatchParameter_fuzzer/SystemWatchParameter_fuzzer.h b/test/fuzztest/test_startup_SystemWatchParameter_fuzzer/test_startup_SystemWatchParameter_fuzzer.h similarity index 100% rename from test/fuzztest/SystemWatchParameter_fuzzer/SystemWatchParameter_fuzzer.h rename to test/fuzztest/test_startup_SystemWatchParameter_fuzzer/test_startup_SystemWatchParameter_fuzzer.h diff --git a/test/fuzztest/UmountAllFstab_fuzzer/UmountAllFstab_fuzzer.cpp b/test/fuzztest/test_startup_UmountAllFstab_fuzzer/test_startup_UmountAllFstab_fuzzer.cpp similarity index 97% rename from test/fuzztest/UmountAllFstab_fuzzer/UmountAllFstab_fuzzer.cpp rename to test/fuzztest/test_startup_UmountAllFstab_fuzzer/test_startup_UmountAllFstab_fuzzer.cpp index d764d4738a50592e08f841b430eacbf5f7463009..98ab14220ff900970b7c565010b53d3c58283c91 100644 --- a/test/fuzztest/UmountAllFstab_fuzzer/UmountAllFstab_fuzzer.cpp +++ b/test/fuzztest/test_startup_UmountAllFstab_fuzzer/test_startup_UmountAllFstab_fuzzer.cpp @@ -13,7 +13,7 @@ * limitations under the License. */ -#include "UmountAllFstab_fuzzer.h" +#include "test_startup_UmountAllFstab_fuzzer.h" #include #include "fs_manager/fs_manager.h" diff --git a/test/fuzztest/UmountAllFstab_fuzzer/UmountAllFstab_fuzzer.h b/test/fuzztest/test_startup_UmountAllFstab_fuzzer/test_startup_UmountAllFstab_fuzzer.h similarity index 100% rename from test/fuzztest/UmountAllFstab_fuzzer/UmountAllFstab_fuzzer.h rename to test/fuzztest/test_startup_UmountAllFstab_fuzzer/test_startup_UmountAllFstab_fuzzer.h