shell-conduit icon indicating copy to clipboard operation
shell-conduit copied to clipboard

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

Open therealpxc opened this issue 8 years ago • 1 comments

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.

therealpxc avatar Sep 12 '17 17:09 therealpxc

Sorry for my late reply. I would welcome a PR fixing this issue.

psibi avatar Mar 30 '18 17:03 psibi