Skip to content

Disable Windows symlinking test  #759

@patricoferris

Description

@patricoferris

Symlinking on Windows is a priveleged operation. From OCaml's Unix.symlink documentation.

The other caveat [on windows] is that by default symbolic links are a privileged operation. Administrators will always need to be running elevated (or with UAC disabled) and by default normal user accounts need to be granted the SeCreateSymbolicLinkPrivilege via Local Security Policy (secpol.msc) or via Active Directory.

Unix.has_symlink can be used to check that a process is able to create symbolic links.

Currently, I think the tests can fail because of this. We should only run symlink tests on Windows if we can (i.e. any tests that use Unix.symlink).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions