Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Test failing on Win32 #2361

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

Closed
kitbellew opened this issue May 16, 2014 · 1 comment
Closed

Test failing on Win32 #2361

kitbellew opened this issue May 16, 2014 · 1 comment

Comments

@kitbellew
Copy link
Contributor

diff::workdir::submodules [C:\cygwin\home\a.meltzer\libgit2\tests\diff\workdir.c:905]
  33 != exp.lines
  33 != 35
  • Debugging suggests that submod2/just_a_dir/contents is included in the diff for some reason.

There is a couple others which seem to be specific to mounted volumes (code checkout vs CLAR_TMP location), like the Mac \psf\Home from the Parallels VM:

repo::init::extended_with_template_and_shared_mode [W:\cbs\code\cbs\qa\libgit2\tests\repo\init.c:383]
  Function call failed: (git_path_lstat(expected.ptr, &expected_st))
  error -3 - Could not find 'W:/cbs/code/cbs/qa/libgit2/tests/resources/template/hooks/link.sample' to stat: Access is denied.
  • This error occurs when the code is checked on a mounted volume which supports symlinks normally. The link.sample file indeed is missing but there is one called link.sample.lnk or something like that.
core::link::stat_junction [W:\cbs\code\cbs\qa\libgit2\tests\core\link.c:146]
  System call failed: DeviceIoControl(handle, FSCTL_SET_REPARSE_POINT, reparse_buf, reparse_buflen, NULL, 0, &ioctl_ret, NULL)
  error 0 - Returned: 0, system error code: 1: Incorrect function.
  • I didn't look into this at all.
@phkelley
Copy link
Member

I can reproduce the failure of diff:workdir::submodules on Win32, both x86 and amd64.
Would you create another issue for the mounted volume problem, and assign it to @ethomson?

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

No branches or pull requests

2 participants