[LTP] [PATCH 1/1] network/echo01: fix creating existing directory

Petr Vorel pvorel@suse.cz
Tue Nov 29 11:01:03 CET 2016


$TCtmp directory is created by cmdlib.sh

Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
 testcases/network/tcp_cmds/echo/echo01 | 1 -
 1 file changed, 1 deletion(-)

diff --git a/testcases/network/tcp_cmds/echo/echo01 b/testcases/network/tcp_cmds/echo/echo01
index 9260f21..18fef9c 100755
--- a/testcases/network/tcp_cmds/echo/echo01
+++ b/testcases/network/tcp_cmds/echo/echo01
@@ -75,7 +75,6 @@ do_setup()
 
 do_test()
 {
-    mkdir $TCtmp
     echo  "Creating echo file $ECHOFILE"
     if ! "$LTPROOT/testcases/bin/$CREATEFILE" $ECHOSIZE "$TCtmp/$ECHOFILE"; then
         end_testcase "$ECHOFILE not created"
-- 
2.10.2



More information about the ltp mailing list