The test result:
[..snip..]
inotify02 8 PASS : get event: wd=1 mask=800 cookie=0 len=0 name=""
inotify02 9 FAIL : don't get event: mask=0
The test purposes of these 2 testcases:
rename yourself IN_MOVE_SELF
rename back IN_MOVE_SELF
Referring to the man inotify(7):
If successive output inotify events produced on the inotify file
descriptor are identical (same wd, mask, cookie, and name) then they
are coalesced into a single event.
So when the time interval between the above 2 events is short enough, We'll
get only one event, that's why the test failed.
So should we remove 9th testcase, or arrange those cases in a different order,
or sleep() some time between the 2 events, or ...?
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list