File: die_handler.t

package info (click to toggle)
libipc-run3-perl 0.049-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 200 kB
  • sloc: perl: 1,179; makefile: 2
file content (14 lines) | stat: -rw-r--r-- 224 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!perl
use strict;
use warnings;

use Test::More tests => 1;

use IPC::Run3;

local $SIG{__DIE__} = sub { ok(0, '__DIE__ handler should not be called'); };

my ( $in, $out, $err );

ok(run3 [$^X, '-e1' ], $in, $out, $err);