testrail-lock.t 277 B

123456789101112
  1. use strict;
  2. use warnings;
  3. use Test::More "tests" => 2;
  4. #VERY rudimentray checking
  5. my @args = ($^X,qw{bin/testrail-lock --help});
  6. my $out = `@args`;
  7. is($? >> 8, 0, "Can get help output OK");
  8. chomp $out;
  9. like($out,qr/useful to lock the test/,"Help Output looks as expected");