File: 10_bugs.t

package info (click to toggle)
libcoro-perl 6.570-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,144 kB
  • sloc: ansic: 2,560; perl: 2,122; makefile: 14
file content (18 lines) | stat: -rw-r--r-- 343 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$|=1;
print "1..3\n";

# test for known buggy perls

use Coro;

print "ok 1\n";

# Debian allocates 0.25mb of local variables in Perl_magic_get,
# normal is <<256 bytes. If your perl segfaults here, try getting a
# newer one or increase the C context stack space to a few megs.
async {
      print "ok 2\n";
      $1
}->join;

print "ok 3\n";