Skip to contentSkip to conversation

POSIX: does case mmap/27-1 valid?

LTP Kang Kai 2 participants 2 messages Jul 4, 2012 – Sep 20, 2012

lore
Share & tools
lore

Kang Kai

author
#0 lore raw

Hi All,

The posix test case mmap/27-1 try to test c lib implementation which doesn't support MAP_FIXED and MAP_PRIVATE. When MAP_FIXED is defined then the case quits with UNTESTED.
If MAP_FIXED and other flags are not defined, then the case try to test mmap with MAP_FIXED. But at this time MAP_FIXED is not defined, how the case can be compiled? Then I suppose this case is NOT valid.

What's your opinions? Thanks.

Regards,
Kai

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

#1 lore raw

Hi!

Quoted 7 lines

The posix test case mmap/27-1 try to test c lib implementation which doesn't support MAP_FIXED and MAP_PRIVATE.
When MAP_FIXED is defined then the case quits with UNTESTED. If MAP_FIXED and other flags are not defined, then the case try to test mmap with MAP_FIXED.
But at this time MAP_FIXED is not defined, how the case can be compiled? Then I suppose this case is NOT valid.

There are several invalid testcases in the mmap directory. I've started to cleanup the testcases but haven't had time finish yet (I've got more important work meanwhile). So stay tuned I'll get to them again hopefully soon.

Signature · 13 lines
Cyril Hrubis
[email protected]

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list