From: <pl...@us...> - 2003-07-08 18:17:58
|
Update of /cvsroot/ltp/ltp/testcases/kernel/syscalls/nftw In directory sc8-pr-cvs1:/tmp/cvs-serv25266 Modified Files: nftw.c nftw64.c Log Message: remove extra \n's from nftw tests Index: nftw.c =================================================================== RCS file: /cvsroot/ltp/ltp/testcases/kernel/syscalls/nftw/nftw.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- nftw.c 27 Mar 2003 14:47:46 -0000 1.2 +++ nftw.c 8 Jul 2003 18:17:55 -0000 1.3 @@ -774,8 +774,8 @@ blexit() { (local_flag == PASSED) ? - tst_resm(TPASS, "Test block %d\n", block_number) - : tst_resm(TFAIL, "Test block %d\n", block_number); + tst_resm(TPASS, "Test block %d", block_number) + : tst_resm(TFAIL, "Test block %d", block_number); block_number++; return; } @@ -789,9 +789,9 @@ void anyfail() { - tst_resm(TINFO, "Exiting test\n"); - (local_flag == FAILED) ? tst_resm(TFAIL, "Test failed\n") - : tst_resm(TPASS, "Test passed\n"); + tst_resm(TINFO, "Exiting test"); + (local_flag == FAILED) ? tst_resm(TFAIL, "Test failed") + : tst_resm(TPASS, "Test passed"); tst_rmdir(); tst_exit(); } Index: nftw64.c =================================================================== RCS file: /cvsroot/ltp/ltp/testcases/kernel/syscalls/nftw/nftw64.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- nftw64.c 27 Mar 2003 14:47:47 -0000 1.3 +++ nftw64.c 8 Jul 2003 18:17:55 -0000 1.4 @@ -771,8 +771,8 @@ blexit() { (local_flag == PASSED) ? - tst_resm(TPASS, "Test block %d\n", block_number) - : tst_resm(TFAIL, "Test block %d\n", block_number); + tst_resm(TPASS, "Test block %d", block_number) + : tst_resm(TFAIL, "Test block %d", block_number); block_number++; return; } @@ -786,9 +786,9 @@ void anyfail() { - tst_resm(TINFO, "Exiting test\n"); - (local_flag == FAILED) ? tst_resm(TFAIL, "Test failed\n") - : tst_resm(TPASS, "Test passed\n"); + tst_resm(TINFO, "Exiting test"); + (local_flag == FAILED) ? tst_resm(TFAIL, "Test failed") + : tst_resm(TPASS, "Test passed"); tst_rmdir(); tst_exit(); } |