-
Notifications
You must be signed in to change notification settings - Fork 560
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
t/io/shm.t: test shmwrite beyond the 2GB mark
Guard tests behind PERL_TEST_MEMORY because we're allocating a 2GB shared mem segment and a 2GB scalar buffer. These tests used to fail (or crash) before the do_shmio() I32 fixes. Also fix the error message if the initial shmget fails ("IPC::SharedMem->new" was a copy/paste oversight from when these tests were copied in from IPC::SysV in 2d5385e). Also test that shmwrite() from a tied buffer only calls FETCH once while we're at it.
- Loading branch information
Showing
1 changed file
with
29 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters