Hi,
I am executing LTP ltp-full-20080731
on 2.6.23 kernel on Mips and i686 arch.
And I have enabled inofity option in .config file.
And created
-bash-3.2# mknod /dev/inotify c 10 63
Here is the out put for
#cd ltp-full-20080731/testcases/kernel/syscalls/inotify
-bash-3.2# ./inotify01
inotify01 1 PASS : get event: wd=1 mask=4 cookie=0 len=0
inotify01 2 PASS : get event: wd=1 mask=20 cookie=0 len=0
inotify01 3 PASS : get event: wd=1 mask=1 cookie=0 len=0
inotify01 4 PASS : get event: wd=1 mask=10 cookie=0 len=0
inotify01 5 PASS : get event: wd=1 mask=20 cookie=0 len=0
inotify01 6 PASS : get event: wd=1 mask=2 cookie=0 len=0
inotify01 7 PASS : get event: wd=1 mask=8 cookie=0 len=0
-bash-3.2#
-bash-3.2# ./inotify02
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=23 len=16
name="test_file1"
inotify02 6 PASS : get event: wd=1 mask=80 cookie=23 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=""
-bash-3.2#
This inotify02 test case failed.
Please give fix for the same.
Thanks in advance
Nikki
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list