6 set_up_inc( qw(. ../lib) );
9 require Config; import Config;
13 skip("Alarm not supported", 1) unless exists $Config{'d_alarm'};
16 # We could call anything that modifies $! here, but
17 # this way we can be sure that it isn't the same
18 # errno as interrupted sleep() would return, and are
19 # able to check it thereafter.
26 # Interrupted sleeps sets errno to EAGAIN, but signal
27 # that # hits after it (if safe signal handling is enabled)
28 # causes a routing that modifies $! to be run afterwards
29 isnt($! + 0, -1, 'Signal does not modify $!');