>From "testcases/network/tcp_cmds/sendfile/sendfile01"
    53      CLIENT="testsf_c${EXEC_SUFFIX}"
    54      SERVER="testsf_s${EXEC_SUFFIX}"

SERVER can be "testsf_s" or "testfs_s6"

But, in testcases/network/tcp_cmds/sendfile/sendfile01_server, 

     1  #!/bin/sh
     2  #set -x
     3  cd $3
     4  exec 1< /dev/null       # open descriptor 1
     5  exec 2< /dev/null       # open descriptor 1
     6  nohup ./testsf_s $1 $2 &


SERVER will always execute as "testfs_s"

I guess, below changes would be good.

diff --git a/testcases/network/tcp_cmds/sendfile/sendfile01_server 
b/testcases/network/tcp_cmds/sendfile/sendfile01_server
index 2383ce4..9933db4 100755
--- a/testcases/network/tcp_cmds/sendfile/sendfile01_server
+++ b/testcases/network/tcp_cmds/sendfile/sendfile01_server
@@ -3,4 +3,4 @@
 cd $3
 exec 1< /dev/null       # open descriptor 1
 exec 2< /dev/null       # open descriptor 1
-nohup ./testsf_s $1 $2 &
+nohup ./$4 $1 $2 &




If you feel this is correct, please find the patch attached with this e-mail.


 
Thanks and Regards, 
CHANDRASHEKHAR NANDI

Attachment: 0001-sendfile01_server-Correction-to-run-both-testsf_s-an.patch
Description: Binary data

------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
&#149; 3 signs your SCM is hindering your productivity
&#149; Requirements for releasing software faster
&#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to