summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Spiers <stow@adamspiers.org>2019-07-28 13:03:54 +0100
committerGitHub <noreply@github.com>2019-07-28 13:03:54 +0100
commit9d546b18430e6f140f9f69610dad3c40c3867dfe (patch)
treebfa9092fbef26ba8adcd2cfd641f12da9f400e73
parent80d1472253334b074098302b363b4a776d1fa1e9 (diff)
parentb6ee2d10d620955691b7448882323d2986ebb94e (diff)
downloadstow-9d546b18430e6f140f9f69610dad3c40c3867dfe.tar.gz
cli.t: test with the right Perl executable (#62)
cli.t: test with the right Perl executable
-rw-r--r--THANKS1
-rwxr-xr-xt/cli.t2
2 files changed, 2 insertions, 1 deletions
diff --git a/THANKS b/THANKS
index 64147fb..8fbdd43 100644
--- a/THANKS
+++ b/THANKS
@@ -36,6 +36,7 @@ Jean Louis
Daniel Shahaf
Matan Nassau
Brice Waegeneire
+Slaven Rezic
Email addresses of new contributors are no longer being added by default
for privacy reasons; however please contact the maintainer if you are
diff --git a/t/cli.t b/t/cli.t
index cf324ed..3bd3194 100755
--- a/t/cli.t
+++ b/t/cli.t
@@ -57,7 +57,7 @@ use testutil;
#
# or from the top of the source tree during development. This can be done
# via the following, which also follows the KISS principle:
-my $STOW = 'bin/stow';
+my $STOW = "$^X bin/stow";
`$STOW --help`;
is($?, 0, "--help should return 0 exit code");