Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
It was acceptin 's02' but not 's02-bits'.
- Loading branch information
Showing
3 changed files
with
14 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,17 @@ | ||
use strict; | ||
use warnings; | ||
use File::Spec::Functions 'catfile'; | ||
use Test::More tests => 3; | ||
use Test::More tests => 4; | ||
|
||
$ENV{GROK_SHAREDIR} = 'share'; | ||
my $grok = catfile('script', 'grok'); | ||
|
||
my $s02 = qx/$^X $grok s02/; | ||
my $s04 = qx/$^X $grok s04-control/; | ||
my $s26 = qx/$^X $grok s26/; | ||
my $s32_except = qx/$^X $grok s32-except/; | ||
|
||
like($s02, qr/Synopsis 2/, "Got S02"); | ||
like($s04, qr/Synopsis 4/, "Got S04"); | ||
like($s26, qr/Synopsis 26/, "Got S26"); | ||
like($s32_except, qr/Synopsis 32: Setting Library - Exception/, "Got S32-exception"); |