File: email-exit.t

package info (click to toggle)
liblog-dispatch-perl 2.71-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 560 kB
  • sloc: perl: 1,457; sh: 24; makefile: 2
file content (16 lines) | stat: -rw-r--r-- 300 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use strict;
use warnings;

use Test::More;

unless ( -d '.git' ) {
    plan skip_all => 'This test only runs for the maintainer';
    exit;
}

## no critic (InputOutput::RequireCheckedSyscalls)
system( $^X, 't/email-exit-helper.pl' );

is( $? >> 8, 5, 'exit code of helper was 5' );

done_testing();