Skip to content

Commit 4dfdca6

Browse files
mdkinneymergify[bot]
authored andcommitted
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 <[email protected]>
1 parent b158dad commit 4dfdca6

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

.gitmodules

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
[submodule "BaseTools/Source/C/BrotliCompress/brotli"]
1717
path = BaseTools/Source/C/BrotliCompress/brotli
1818
url = https://github.com/google/brotli
19-
ignore = untracked
19+
ignore = untracked
2020
[submodule "RedfishPkg/Library/JsonLib/jansson"]
2121
path = RedfishPkg/Library/JsonLib/jansson
2222
url = https://github.com/akheron/jansson
@@ -25,16 +25,16 @@
2525
url = https://github.com/google/googletest.git
2626
[submodule "UnitTestFrameworkPkg/Library/SubhookLib/subhook"]
2727
path = UnitTestFrameworkPkg/Library/SubhookLib/subhook
28-
url = https://github.com/Zeex/subhook.git
29-
[submodule "MdePkg/Library/BaseFdtLib/libfdt"]
30-
path = MdePkg/Library/BaseFdtLib/libfdt
31-
url = https://github.com/devicetree-org/pylibfdt.git
28+
url = https://github.com/tianocore/edk2-subhook.git
29+
[submodule "MdePkg/Library/BaseFdtLib/libfdt"]
30+
path = MdePkg/Library/BaseFdtLib/libfdt
31+
url = https://github.com/devicetree-org/pylibfdt.git
3232
[submodule "MdePkg/Library/MipiSysTLib/mipisyst"]
3333
path = MdePkg/Library/MipiSysTLib/mipisyst
3434
url = https://github.com/MIPI-Alliance/public-mipi-sys-t.git
3535
[submodule "CryptoPkg/Library/MbedTlsLib/mbedtls"]
3636
path = CryptoPkg/Library/MbedTlsLib/mbedtls
3737
url = https://github.com/ARMmbed/mbedtls
38-
[submodule "SecurityPkg/DeviceSecurity/SpdmLib/libspdm"]
39-
path = SecurityPkg/DeviceSecurity/SpdmLib/libspdm
40-
url = https://github.com/DMTF/libspdm.git
38+
[submodule "SecurityPkg/DeviceSecurity/SpdmLib/libspdm"]
39+
path = SecurityPkg/DeviceSecurity/SpdmLib/libspdm
40+
url = https://github.com/DMTF/libspdm.git

ReadMe.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ that are covered by additional licenses.
9696
- `MdeModulePkg/Universal/RegularExpressionDxe/oniguruma <https://github.com/kkos/oniguruma/blob/abfc8ff81df4067f309032467785e06975678f0d/COPYING>`__
9797
- `UnitTestFrameworkPkg/Library/CmockaLib/cmocka <https://github.com/tianocore/edk2-cmocka/blob/f5e2cd77c88d9f792562888d2b70c5a396bfbf7a/COPYING>`__
9898
- `UnitTestFrameworkPkg/Library/GoogleTestLib/googletest <https://github.com/google/googletest/blob/86add13493e5c881d7e4ba77fb91c1f57752b3a4/LICENSE>`__
99-
- `UnitTestFrameworkPkg/Library/SubhookLib/subhook <https://github.com/Zeex/subhook/blob/83d4e1ebef3588fae48b69a7352cc21801cb70bc/LICENSE.txt>`__
99+
- `UnitTestFrameworkPkg/Library/SubhookLib/subhook <https://github.com/tianocore/edk2-subhook/blob/83d4e1ebef3588fae48b69a7352cc21801cb70bc/LICENSE.txt>`__
100100
- `RedfishPkg/Library/JsonLib/jansson <https://github.com/akheron/jansson/blob/2882ead5bb90cf12a01b07b2c2361e24960fae02/LICENSE>`__
101101
- `MdePkg/Library/BaseFdtLib/libfdt <https://github.com/devicetree-org/pylibfdt/blob/f39368a217496d32c4091a2dba4045b60649e3a5/BSD-2-Clause>`__
102102
- `MdePkg/Library/MipiSysTLib/mipisyst <https://github.com/MIPI-Alliance/public-mipi-sys-t/blob/aae857d0d05ac65152ed24992a4acd834a0a107c/LICENSE>`__

UnitTestFrameworkPkg/ReadMe.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -485,8 +485,8 @@ function to be compiled into the test application and then hooked to during a
485485
test.
486486

487487
This library is mainly a wrapper around the
488-
[subhook](https://github.com/Zeex/subhook) header and source files. It is
489-
important to note that the use of the mock function macros and the creation
488+
[subhook](https://github.com/tianocore/edk2-subhook) header and source files. It
489+
is important to note that the use of the mock function macros and the creation
490490
of mock functions requires no knowledge about the SubhookLib. The SubhookLib
491491
library is entirely hidden and encapsulated within FunctionMockLib, and it
492492
is only mentioned here to provide a complete explanation on all the libraries

0 commit comments

Comments
 (0)