and TCONF if the tested kernel has version less than 2.6.13 --- testcases/kernel/syscalls/inotify/inotify01.c | 6 +++--- testcases/kernel/syscalls/inotify/inotify02.c | 6 +++--- testcases/kernel/syscalls/inotify/inotify03.c | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/testcases/kernel/syscalls/inotify/inotify01.c b/testcases/kernel/syscalls/inotify/inotify01.c index d3179c3..b756adb 100644 --- a/testcases/kernel/syscalls/inotify/inotify01.c +++ b/testcases/kernel/syscalls/inotify/inotify01.c @@ -198,7 +198,7 @@ int main(int ac, char **av){ struct inotify_event *event; event = (struct inotify_event *) &event_buf[i]; if (test_num >= TST_TOTAL) { - tst_resm(TINFO, + tst_resm(TFAIL, "get unnecessary event: wd=%d mask=%x " "cookie=%u len=%u", event->wd, event->mask, @@ -328,8 +328,8 @@ int main() { #ifndef __NR_inotify_init - tst_resm(TWARN, "This test needs a kernel that has inotify syscall."); - tst_resm(TWARN, "Inotify syscall can be found at kernel 2.6.13 or higher."); + tst_resm(TCONF, "This test needs a kernel that has inotify syscall."); + tst_resm(TCONF, "Inotify syscall can be found at kernel 2.6.13 or higher."); return 0; #endif #ifndef HAS_SYS_INOTIFY diff --git a/testcases/kernel/syscalls/inotify/inotify02.c b/testcases/kernel/syscalls/inotify/inotify02.c index dbf3d87..cc13482 100644 --- a/testcases/kernel/syscalls/inotify/inotify02.c +++ b/testcases/kernel/syscalls/inotify/inotify02.c @@ -248,7 +248,7 @@ int main(int ac, char **av){ struct inotify_event *event; event = (struct inotify_event *) &event_buf[i]; if (test_num >= TST_TOTAL){ - tst_resm(TINFO, "get unnecessary event: " + tst_resm(TFAIL, "get unnecessary event: " "wd=%d mask=%x cookie=%u len=%u" "name=\"%s\"",event->wd, event->mask, event->cookie, event->len, @@ -369,8 +369,8 @@ int main() { #ifndef __NR_inotify_init - tst_resm(TWARN, "This test needs a kernel that has inotify syscall."); - tst_resm(TWARN, "Inotify syscall can be found at kernel 2.6.13 or higher."); + tst_resm(TCONF, "This test needs a kernel that has inotify syscall."); + tst_resm(TCONF, "Inotify syscall can be found at kernel 2.6.13 or higher."); return 0; #endif #ifndef HAS_SYS_INOTIFY diff --git a/testcases/kernel/syscalls/inotify/inotify03.c b/testcases/kernel/syscalls/inotify/inotify03.c index 2761b88..967082e 100644 --- a/testcases/kernel/syscalls/inotify/inotify03.c +++ b/testcases/kernel/syscalls/inotify/inotify03.c @@ -185,7 +185,7 @@ int main(int ac, char **av){ struct inotify_event *event; event = (struct inotify_event *) &event_buf[i]; if (test_num >= (TST_TOTAL - 1)) { - tst_resm(TINFO, + tst_resm(TFAIL, "get unnecessary event: wd=%d mask=%x " "cookie=%u len=%u", event->wd, event->mask, @@ -364,8 +364,8 @@ int main() { #ifndef __NR_inotify_init - tst_resm(TWARN, "This test needs a kernel that has inotify syscall."); - tst_resm(TWARN, "Inotify syscall can be found at kernel 2.6.13 or higher."); + tst_resm(TCONF, "This test needs a kernel that has inotify syscall."); + tst_resm(TCONF, "Inotify syscall can be found at kernel 2.6.13 or higher."); return 0; #endif #ifndef HAS_SYS_INOTIFY -- 1.5.6.4 ------------------------------------------------------------------------------ _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list