File: map.pl

package info (click to toggle)
libtest-valgrind-perl 1.14-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 292 kB
  • ctags: 148
  • sloc: perl: 1,567; makefile: 17
file content (13 lines) | stat: -rwxr-xr-x 172 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env perl

use strict;
use warnings;

use lib 'blib/lib';
use Test::Valgrind;

{
 local $SIG{ALRM} = sub { kill "TERM", $$ };
 alarm 1;
 while (1) { map 1, 1 }
}