blob: 32e12674b96bed969ec5faee156151d1cf615944 [file] [log] [blame]
Akron797e8072020-02-13 07:59:40 +01001use strict;
2use warnings;
3use File::Basename 'dirname';
4use File::Spec::Functions qw/catfile/;
5
6use Test::More;
7use Test::Output;
8
9my $f = dirname(__FILE__);
10my $script = catfile($f, '..', 'script', 'tei2korapxml');
11ok(-f $script, 'Script found');
12
13stderr_is(
14 sub { system('perl', $script, '--help') },
15 "This program is called from inside another script.\n",
16 'Help'
17);
18
19
20done_testing;