The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
use strict;
use warnings;
use utf8;
use Test::More;
use Devel::CheckBin;

if ($^O eq 'linux' || $^O eq 'darwin') {
    ok can_run("ls");
    ok !can_run("unknown_command");
} else {
    plan 'skip_all' => "Skip: $^O";
}

done_testing;