From: <ro...@us...> - 2003-08-18 18:49:33
|
Update of /cvsroot/ltp/ltp/testcases/network/tcp_cmds/sendfile In directory sc8-pr-cvs1:/tmp/cvs-serv21831 Modified Files: testsf_c.c testsf_s.c Log Message: Applied patches in Patch #788836 from David Smith. Index: testsf_c.c =================================================================== RCS file: /cvsroot/ltp/ltp/testcases/network/tcp_cmds/sendfile/testsf_c.c,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- testsf_c.c 9 Jun 2003 19:31:17 -0000 1.9 +++ testsf_c.c 18 Aug 2003 18:49:30 -0000 1.10 @@ -64,7 +64,7 @@ sp = strcat(sp, "="); sp = strcat(sp, argv[4]); /* requested file */ - tst_resm(TBROK, "sp=%s\n",sp); + tst_resm(TINFO, "sp=%s\n",sp); /* initialize server info to make the connection */ sa.sin_family = AF_INET; sa.sin_addr.s_addr = inet_addr(argv[1]); @@ -84,7 +84,8 @@ exit(1); } -tst_resm(TBROK, "client write %d bytes to server with contents %s\n", nbyte, rbuf); + tst_resm(TINFO, "client write %d bytes to server with contents %s\n", + nbyte, rbuf); nlen = 0; /* init size of info received */ rbuf[0] = '\0'; Index: testsf_s.c =================================================================== RCS file: /cvsroot/ltp/ltp/testcases/network/tcp_cmds/sendfile/testsf_s.c,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- testsf_s.c 9 Jun 2003 19:31:17 -0000 1.8 +++ testsf_s.c 18 Aug 2003 18:49:30 -0000 1.9 @@ -142,7 +142,7 @@ /* the file name */ lp++; - tst_resm(TBROK, "The file to send is %s\n", lp); + tst_resm(TINFO, "The file to send is %s\n", lp); /* open requested file to send */ if ((fd = open(lp, O_RDONLY)) < 0) { tst_resm(TBROK, "file open error = %d\n", errno); |