Test result with kernel 2.6.25-rc6:
inotify02 1 PASS : get event: wd=1 mask=40000004 cookie=0 len=0 name=""
inotify02 2 PASS : get event: wd=1 mask=100 cookie=0 len=16
name="test_file1"
inotify02 3 PASS : get event: wd=1 mask=20 cookie=0 len=16
name="test_file1"
inotify02 4 PASS : get event: wd=1 mask=8 cookie=0 len=16
name="test_file1"
inotify02 5 PASS : get event: wd=1 mask=40 cookie=80 len=16
name="test_file1"
inotify02 6 PASS : get event: wd=1 mask=80 cookie=80 len=16
name="test_file2"
inotify02 7 PASS : get event: wd=1 mask=800 cookie=0 len=0 name=""
inotify02 8 PASS : get event: wd=1 mask=200 cookie=0 len=16
name="test_file2"
inotify02 9 PASS : get event: wd=1 mask=800 cookie=0 len=0 name=""
Test result with kernel 2.6.23.8-63.fc8
inotify02 1 PASS : get event: wd=1 mask=40000004 cookie=0 len=0 name=""
inotify02 2 PASS : get event: wd=1 mask=100 cookie=0 len=16
name="test_file1"
inotify02 3 PASS : get event: wd=1 mask=20 cookie=0 len=16
name="test_file1"
inotify02 4 PASS : get event: wd=1 mask=8 cookie=0 len=16
name="test_file1"
inotify02 5 PASS : get event: wd=1 mask=40 cookie=131 len=16
name="test_file1"
inotify02 6 PASS : get event: wd=1 mask=80 cookie=131 len=16
name="test_file2"
inotify02 7 PASS : get event: wd=1 mask=800 cookie=0 len=0 name=""
inotify02 8 PASS : get event: wd=1 mask=200 cookie=0 len=16
name="test_file2"
inotify02 9 PASS : get event: wd=1 mask=800 cookie=0 len=0 name=""
inotify02 10 FAIL : get unnecessary event: wd=1 mask=800 cookie=0
len=0name=""
The above FAIL is caused by the bug in event coalescence in inotify.
-------------------------------------------------------------------------
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