Skip to content

file_util::check_symlink_support fails on some Windows machine #6815

Open
@06393993

Description

@06393993

Description

On the Windows machine shipped by my company, file_util::check_symlink_support fails with the following error:

thread 'test_eol::test_eol_conversion_checkout_symlink_should_not_be_converted' panicked at lib\tests\test_eol.rs:477:33:
called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "The system cannot find the file specified." }

I don't see such failures on my personal Windows machine.

It shouldn't have actual influence other than failing tests on those Windows machines.

Steps to Reproduce the Problem

Just run any tests that call check_symlink_support, e.g. test_check_out_existing_directory_symlink.

Expected Behavior

The test should be skipped or pass.

Actual Behavior

The test fails.

Specifications

  • Platform: Windows
  • Version: Windows 11 Enterprise Version 23H2 OS Build 22631.5472

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions