syscalls:epoll01: turn off flooding verbose output
PATCH 1/1 syscalls:epoll01: turn off flooding verbose output
It's a small fix, not affecting functions.
epoll01 test put 13000+ lines output, it increases the size of log file and also make me review the log more difficult. I put a "DEBUG switch" in the code and make it turned off by default.
Signed-off-by Caspar Zhang <[email protected]>
--- testcases/kernel/syscalls/epoll/epoll-ltp.c | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-)
testcases/kernel/syscalls/epoll/epoll-ltp.c +7 -3
@@ -98,8 +98,8 @@#include "config.h" #include "test.h" -char *TCID ="sys_epoll02" ;/* test program identifier */ -int TST_TOTAL =1 ;/* total number of tests in this file */ +char *TCID ="epoll01" ; +int TST_TOTAL =1 ;#ifdef HAVE_SYS_EPOLL_H
@@ -627,9 +627,13 @@ int test_epoll_ctl(int epoll_fd) [result])); } num_epoll_ctl_test_fails++; +#ifdef DEBUG }else /* The call of epoll_ctl behaved as expected */ EPOLL_CTL_TEST_PASS ((result_strings [result])); +#else + } +#endif } } }
@@ -693,4 +697,4 @@ int main(void) tst_brkm(TCONF, NULL, "No epoll support found."); } -#endif +#endif
------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
Hi!
Commited, thanks.
Signature · 12 lines
Cyril Hrubis [email protected] ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list