Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: bfc515ed96
Fetching contributors…

Cannot retrieve contributors at this time

13 lines (9 sloc) 0.364 kb
use strict;
use warnings;
use File::Spec::Functions 'catfile';
use Test::More tests => 2;
my $script = catfile('bin', 'grok');
my $result_short = qx/$^X $script -V/;
my $result_long = qx/$^X $script --version/;
like($result_short, qr/^grok (?:dev-git|\d)/, "Got version info (-V)");
like($result_long, qr/^grok (?:dev-git|\d)/, "Got version info (--version)");
Jump to Line
Something went wrong with that request. Please try again.