blob: 5122b63bc1c12be7b715159ad74de82602276261 [file] [log] [blame]
Akron92ad95b2016-08-15 23:38:56 +02001use strict;
2use warnings;
3use Test::More;
4use File::Basename 'dirname';
5use File::Spec::Functions qw/catfile/;
6use Test::Output;
7use FindBin;
8
9my $script = catfile(dirname(__FILE__), '..', 'script', 'korapxml2krill');
10
11stdout_like(
12 sub { system('perl', $script) },
13 qr!Usage.+?korapxml2krill!s,
14 'Usage output'
15);
16
17done_testing;
18__END__