summaryrefslogtreecommitdiff
path: root/t/io/shm.t
Commit message (Collapse)AuthorAgeFilesLines
* ensure shmread() calls get and set magic onceChip Salzenberg2012-07-101-1/+11
|
* skip_all is a sub in t/test.pl.Craig A. Berry2011-09-161-2/+2
| | | | | | | plan(skip_all => 'foo') is a Test::More-ism that survived the switch to t/test.pl in 8d646433865d105d3ca0f95dd6593fe343e37aa2 unchanged and caused the test to fail where d_shm is not defined or IPC::SysV is not built.
* Use test.pl miniperl check rather than by-hand in t/io/shm.tGeorge Greer2011-09-141-3/+1
| | | | | Doing the miniperl check by hand didn't exit() so the test script would die as soon as it got down to the "use IPC::SysV" line.
* Tests in "t/io" aren't supposed to use Test::More yet, so use test.pl instead.George Greer2011-09-141-1/+1
|
* shm.t: Skip under miniperlFather Chrysostomos2011-09-141-0/+3
|
* shm.t: Don’t call shmctl in END when undefinedFather Chrysostomos2011-09-141-3/+3
| | | | | The skip was not inside a BEGIN block, so the END block ended up getting compiled and running.
* Fix #98480 math when reading shared memoryLeon Timmermans2011-09-141-1/+7
| | | | | shmread didn't unset SvIOK properly, causing a read into a SVIV to have an incorrect numeric value. This patch fixes that and adds tests.
* Added SysV shared memory testsLeon Timmermans2011-09-141-0/+75
Tests are based on IPC-SysV's tests, though I had to remove a lot for it not to rely on IPC::SharedMem.