Skip to content

Tests fail on Darwin (macOS) when GNU coreutils are on the path #12

@therealpxc

Description

@therealpxc

The tests for this program assume that running Darwin means that FreeBSD's coreutils are on the path, but that's not necessarily the case. With the Nix package manager, this breaks builds of tldr because the GNU coreutils are part of the build environment, even on Darwin. This issue will also affect users who have installed the GNU coreutils through Homebrew or some other package manager.

Since running macOS (or *BSD) is actually a distinct proposition from using non-GNU coreutils, the tests should probably reflect that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions