Thanks for these too. Regards-- Subrata
On Tue, 2008-10-28 at 17:32 +0800, Jin Bing Guo wrote: > The RHEL4.7 (kernel-2.6.9-78.EL) does not support inotify system calls. > So it should send out an information and return 0. > > ======== > [EMAIL PROTECTED] cvs_ltp.orig]# ./runltp -q -s inotify01 > Running tests....... > inotify01 0 WARN : This test needs a kernel that has inotify > syscall. > inotify01 0 WARN : Inotify syscall can be found at kernel 2.6.13 > or higher. > inotify01 1 BROK : can't find header sys/inotify.h > INFO: pan reported some tests FAIL > > [EMAIL PROTECTED] cvs_ltp.orig]# ./runltp -q -s inotify02 > Running tests....... > inotify02 0 WARN : This test needs a kernel that has inotify > syscall. > inotify02 0 WARN : Inotify syscall can be found at kernel 2.6.13 > or higher. > inotify02 1 BROK : can't find header sys/inotify.h > INFO: pan reported some tests FAIL > > =============== > After patching > =============== > [EMAIL PROTECTED] cvs_ltp]# ./runltp -q -s inotify01 > Running tests....... > inotify01 0 WARN : This test needs a kernel that has inotify > syscall. > inotify01 0 WARN : Inotify syscall can be found at kernel 2.6.13 > or higher. > INFO: pan reported all tests PASS > > [EMAIL PROTECTED] cvs_ltp]# ./runltp -q -s inotify02 > Running tests....... > inotify02 0 WARN : This test needs a kernel that has inotify > syscall. > inotify02 0 WARN : Inotify syscall can be found at kernel 2.6.13 > or higher. > INFO: pan reported all tests PASS > > In additoin, tha patch also fixed a compile warning: > =============== > Before patching > =============== > [EMAIL PROTECTED] inotify]# make > cc -I../../../../include -Wall inotify01.c -L../../../../lib -lltp > -o inotify01 > inotify01.c:334:24: warning: extra tokens at end of #ifndef directive > cc -I../../../../include -Wall inotify02.c -L../../../../lib -lltp > -o inotify02 > inotify02.c:375:24: warning: extra tokens at end of #ifndef directive > > > Signed-off-by: Jin Bing Guo <[EMAIL PROTECTED]> > ----- > > Thanks, > -- Jin Bing Guo > > > ------------------------------------------------------------------------- > 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 ------------------------------------------------------------------------- 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
