diff --git a/__test__/verify-submodules-recursive.sh b/__test__/verify-submodules-recursive.sh index 1b68f9b..bdb803c 100755 --- a/__test__/verify-submodules-recursive.sh +++ b/__test__/verify-submodules-recursive.sh @@ -17,7 +17,7 @@ fi echo "Testing persisted credential" pushd ./submodules-recursive/submodule-level-1/submodule-level-2 -git config --local --name-only --get-regexp http.+extraheader && git fetch +git config --local --name-only --get-regexp '^includeIf\.' && git fetch if [ "$?" != "0" ]; then echo "Failed to validate persisted credential" popd diff --git a/__test__/verify-submodules-true.sh b/__test__/verify-submodules-true.sh index 43769fe..d2cd831 100755 --- a/__test__/verify-submodules-true.sh +++ b/__test__/verify-submodules-true.sh @@ -17,7 +17,7 @@ fi echo "Testing persisted credential" pushd ./submodules-true/submodule-level-1 -git config --local --name-only --get-regexp http.+extraheader && git fetch +git config --local --name-only --get-regexp '^includeIf\.' && git fetch if [ "$?" != "0" ]; then echo "Failed to validate persisted credential" popd