Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test failure with latest git CVE fix (2.30.6, 2.31.5, 2.32.4, 2.33.5, 2.34.5, 2.35.5, 2.36.3, 2.37.4, 2.38.1) #27

Closed
felixonmars opened this issue Oct 23, 2022 · 0 comments · Fixed by #28

Comments

@felixonmars
Copy link
Contributor

Upstream release notes: https://github.com/git/git/blob/master/Documentation/RelNotes/2.30.6.txt

RepoWithASubmodule
  getGitInfo
Cloning into '/tmp/with-submodule2290/1/2'...
fatal: transport 'file' not allowed
fatal: clone of '/tmp/with-submodule2290/2' into submodule path '/tmp/with-submodule2290/1/2' failed
    it makes sensible git info for a both the parent and the child module [✘]
  getGitRoot
Cloning into '/tmp/with-submodule2290/1/2'...
fatal: transport 'file' not allowed
fatal: clone of '/tmp/with-submodule2290/2' into submodule path '/tmp/with-submodule2290/1/2' failed
    it gets the expected git root for a both the parent and the child module [✘]
...
Failures:

  test/RepoWithASubmoduleSpec.hs:21:13:
  1) RepoWithASubmodule.getGitInfo it makes sensible git info for a both the parent and the child module
       uncaught exception: IOException of type OtherError
       readCreateProcess: git "submodule" "add" "/tmp/with-submodule2290/2" "2" (exit 128): failed

  To rerun use: --match "/RepoWithASubmodule/getGitInfo/it makes sensible git info for a both the parent and the child module/"

  test/RepoWithASubmoduleSpec.hs:38:13:
  2) RepoWithASubmodule.getGitRoot it gets the expected git root for a both the parent and the child module
       uncaught exception: IOException of type OtherError
       readCreateProcess: git "submodule" "add" "/tmp/with-submodule2290/2" "2" (exit 128): failed

  To rerun use: --match "/RepoWithASubmodule/getGitRoot/it gets the expected git root for a both the parent and the child module/"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant