Bug 25566: Add option to ignore found holds and use it when checking high holds
[koha.git] / t / Koha / wait.pl
blobf909cb1f0667f5e57011e27e13487975cea14397
1 #!/usr/bin/perl
3 use Modern::Perl;
5 use Koha::Script;
6 use Fcntl qw(:flock);
7 use Try::Tiny;
9 # # Lock execution
10 my $script = Koha::Script->new({ script => 'sleep.pl' });
12 $script->lock_exec({ wait => 1 });
14 print STDOUT "YAY!";
16 # Normal exit