Skip to content

Update test GetProcesses_LongProcessName() for Alpine distro #29329

@MarcoRossignoli

Description

@MarcoRossignoli

Test System.Diagnostics.Tests.ProcessTests.GetProcesses_LongProcessName makes a copy and rename sleep command to test fix for https://github.com/dotnet/corefx/issues/34437

Unfortunately on Alpine distro sleep is implemented as a symlink to busybox

readlink $(command -v sleep) -> /bin/busybox

We should try to find a way to test also on this distro.
At the moment the best idea could be create a custom library like NativeLibrary test that will work on all platform.

/cc @danmosemsft @am11

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