blob: 32e12674b96bed969ec5faee156151d1cf615944 [file] [log] [blame]
use strict;
use warnings;
use File::Basename 'dirname';
use File::Spec::Functions qw/catfile/;
use Test::More;
use Test::Output;
my $f = dirname(__FILE__);
my $script = catfile($f, '..', 'script', 'tei2korapxml');
ok(-f $script, 'Script found');
stderr_is(
sub { system('perl', $script, '--help') },
"This program is called from inside another script.\n",
'Help'
);
done_testing;