we have many messages about this bug in mail lists.
Let's add proper comment in code.
---
 testcases/kernel/syscalls/inotify/inotify02.c      |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
 mode change 100644 => 100755 testcases/kernel/containers/netns/container_ftp.pl

diff --git a/testcases/kernel/containers/netns/container_ftp.pl 
b/testcases/kernel/containers/netns/container_ftp.pl
old mode 100644
new mode 100755
diff --git a/testcases/kernel/syscalls/inotify/inotify02.c 
b/testcases/kernel/syscalls/inotify/inotify02.c
index b8b94d6..48627a2 100644
--- a/testcases/kernel/syscalls/inotify/inotify02.c
+++ b/testcases/kernel/syscalls/inotify/inotify02.c
@@ -250,6 +250,10 @@ int main(int ac, char **av){
             struct inotify_event *event;
             event = (struct inotify_event *) &event_buf[i];
             if (test_num >= TST_TOTAL){
+               if (tst_kvercmp(2,6,25) < 0)
+                       tst_resm(TWARN, "Mainstream kernels have bug in this"
+                                       "place before 2.6.25, which has been "
+                                       "fixed by Yan Zheng");
                 tst_resm(TFAIL, "get unnecessary event: "
                     "wd=%d mask=%x cookie=%u len=%u"
                     "name=\"%s\"",event->wd, event->mask,
-- 
1.6.0.6


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to