Skip to content

Test failures on Windows and Linux #4

Closed
@Parzival-3141

Description

@Parzival-3141

Windows:

$ zig build test
test
└─ offline failure
error: clone::local::standard_unc_paths_are_written_git_style: ...\AppData\\Local\\zig\\p\\N-V-__8AAJbmLwHHxHDWkz0i6WIR6FpNe6tXSLzaPuWtvBBg\\tests\\libgit2/clone/local.c:220
error: Function call failed: (git_clone(&repo, unc.ptr, "./clone.git", &opts))
error: error -1 - unsupported URL protocol
error:

error: clone::local::git_style_unc_paths: ...\AppData\\Local\\zig\\p\\N-V-__8AAJbmLwHHxHDWkz0i6WIR6FpNe6tXSLzaPuWtvBBg\\tests\\libgit2/clone/local.c:247
error: Function call failed: (git_clone(&repo, git_unc.ptr, "./clone.git", &opts))
error: error -1 - unsupported URL protocol
error:

error: config::include::absolute: ...\AppData\\Local\\zig\\p\\N-V-__8AAJbmLwHHxHDWkz0i6WIR6FpNe6tXSLzaPuWtvBBg\\tests\\libgit2/config/include.c:35
error: Function call failed: (git_config_open_ondisk(&cfg, "config-include-absolute"))
error: error -1 - invalid escape at ...\AppData\Local\zig\p\N-V-__8AAJbmLwHHxHDWkz0i6WIR6FpNe6tXSLzaPuWtvBBg\tests\resources/config/config-included
error:

error: the following command exited with error code 3:
.zig-cache\o\fd6e784e1d2a6f09d4380f9fc26c8df5\libgit2_tests.exe -t -xonline
Linux: (fixed by #6)

$ zig build test
test
└─ offline failure
error: status::worktree::filemode_changes: .../.cache/zig/p/N-V-__8AAJbmLwHHxHDWkz0i6WIR6FpNe6tXSLzaPuWtvBBg/tests/libgit2/status/worktree.c:607
error: 0 != counts.wrong_status_flags_count
error: 0 != 3
error: 

error: status::worktree::filemode_non755: .../.cache/zig/p/N-V-__8AAJbmLwHHxHDWkz0i6WIR6FpNe6tXSLzaPuWtvBBg/tests/libgit2/status/worktree.c:645
error: 0 != counts.wrong_status_flags_count
error: 0 != 2
error: 

error: the following command exited with error code 2:
.zig-cache/o/27f082871f46a86e37f8ab9588aa140e/libgit2_tests -t -xonline 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions