From 95d8a1c255cfb8e063d679930d08ca6426eb5701 Mon Sep 17 00:00:00 2001 From: Michael D Kinney Date: Mon, 4 Nov 2024 10:02:59 -0800 Subject: UnitTestFrameworkPkg: Use TianoCore mirror of subhook submodule Change subhook url from https://github.com/Zeex/subhook to https://github.com/tianocore/edk2-subhook because old url is no longer available. Also align .gitmodules file to use consistent LF line endings. Signed-off-by: Michael D Kinney --- .gitmodules | 16 ++++++++-------- ReadMe.rst | 2 +- UnitTestFrameworkPkg/ReadMe.md | 4 ++-- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.gitmodules b/.gitmodules index 6f4b19310f..6d29190a14 100644 --- a/.gitmodules +++ b/.gitmodules @@ -16,7 +16,7 @@ [submodule "BaseTools/Source/C/BrotliCompress/brotli"] path = BaseTools/Source/C/BrotliCompress/brotli url = https://github.com/google/brotli - ignore = untracked + ignore = untracked [submodule "RedfishPkg/Library/JsonLib/jansson"] path = RedfishPkg/Library/JsonLib/jansson url = https://github.com/akheron/jansson @@ -25,16 +25,16 @@ url = https://github.com/google/googletest.git [submodule "UnitTestFrameworkPkg/Library/SubhookLib/subhook"] path = UnitTestFrameworkPkg/Library/SubhookLib/subhook - url = https://github.com/Zeex/subhook.git -[submodule "MdePkg/Library/BaseFdtLib/libfdt"] - path = MdePkg/Library/BaseFdtLib/libfdt - url = https://github.com/devicetree-org/pylibfdt.git + url = https://github.com/tianocore/edk2-subhook.git +[submodule "MdePkg/Library/BaseFdtLib/libfdt"] + path = MdePkg/Library/BaseFdtLib/libfdt + url = https://github.com/devicetree-org/pylibfdt.git [submodule "MdePkg/Library/MipiSysTLib/mipisyst"] path = MdePkg/Library/MipiSysTLib/mipisyst url = https://github.com/MIPI-Alliance/public-mipi-sys-t.git [submodule "CryptoPkg/Library/MbedTlsLib/mbedtls"] path = CryptoPkg/Library/MbedTlsLib/mbedtls url = https://github.com/ARMmbed/mbedtls -[submodule "SecurityPkg/DeviceSecurity/SpdmLib/libspdm"] - path = SecurityPkg/DeviceSecurity/SpdmLib/libspdm - url = https://github.com/DMTF/libspdm.git +[submodule "SecurityPkg/DeviceSecurity/SpdmLib/libspdm"] + path = SecurityPkg/DeviceSecurity/SpdmLib/libspdm + url = https://github.com/DMTF/libspdm.git diff --git a/ReadMe.rst b/ReadMe.rst index 3fbabe1a1b..dc74f6d4a9 100644 --- a/ReadMe.rst +++ b/ReadMe.rst @@ -96,7 +96,7 @@ that are covered by additional licenses. - `MdeModulePkg/Universal/RegularExpressionDxe/oniguruma `__ - `UnitTestFrameworkPkg/Library/CmockaLib/cmocka `__ - `UnitTestFrameworkPkg/Library/GoogleTestLib/googletest `__ -- `UnitTestFrameworkPkg/Library/SubhookLib/subhook `__ +- `UnitTestFrameworkPkg/Library/SubhookLib/subhook `__ - `RedfishPkg/Library/JsonLib/jansson `__ - `MdePkg/Library/BaseFdtLib/libfdt `__ - `MdePkg/Library/MipiSysTLib/mipisyst `__ diff --git a/UnitTestFrameworkPkg/ReadMe.md b/UnitTestFrameworkPkg/ReadMe.md index d28cb5cb0a..6a67ca23a1 100644 --- a/UnitTestFrameworkPkg/ReadMe.md +++ b/UnitTestFrameworkPkg/ReadMe.md @@ -485,8 +485,8 @@ function to be compiled into the test application and then hooked to during a test. This library is mainly a wrapper around the -[subhook](https://github.com/Zeex/subhook) header and source files. It is -important to note that the use of the mock function macros and the creation +[subhook](https://github.com/tianocore/edk2-subhook) header and source files. It +is important to note that the use of the mock function macros and the creation of mock functions requires no knowledge about the SubhookLib. The SubhookLib library is entirely hidden and encapsulated within FunctionMockLib, and it is only mentioned here to provide a complete explanation on all the libraries -- cgit v1.2.3