summaryrefslogtreecommitdiff
path: root/test/librt
AgeCommit message (Collapse)Author
2009-07-30test_librt: Fix shmtest.c test caseCarmelo Amoroso
Fix wrong use of sizeof (array) to retrieve the number of elements; it was causing accessing beyond the array's boundaries. Below the output of the testcase showing an attempt to read beyond the array (actually 11 elements in size). root@amorosoc:/home/carmelo# ./shmtest Compare memory error : Offset 11, local 4262624, shm 224 Compare memory error : Offset 12, local 693493828, shm 68 Compare memory error : Offset 13, local 693489168, shm 16 Compare memory error : Offset 14, local 693826444, shm 20 ..... Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2009-07-30test_librt: Fix build system for shm_open/unlink testsCarmelo Amoroso
Fix and align build system of librt tests to the test suite. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2009-07-23test/librt: make it build againDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-07-03add testcases for shm_{open,unlink}Bernhard Reutner-Fischer
Reported-by: Mikael Lund Jepsen <mlj@iccc.dk> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>