[LTP] [PATCH] ftp/ftp01.sh: Fix put command specification

Akihiko Odaki akihiko.odaki@daynix.com
Fri Dec 2 10:33:11 CET 2022


The tested command is put, not post, as the function name indicates.

Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
---
 testcases/network/tcp_cmds/ftp/ftp01.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testcases/network/tcp_cmds/ftp/ftp01.sh b/testcases/network/tcp_cmds/ftp/ftp01.sh
index ac57f004e..da3cdb375 100755
--- a/testcases/network/tcp_cmds/ftp/ftp01.sh
+++ b/testcases/network/tcp_cmds/ftp/ftp01.sh
@@ -60,7 +60,7 @@ test_put()
             echo lcd $TST_NET_DATAROOT
             echo $1
             echo cd $TST_TMPDIR
-            echo post $file
+            echo put $file
             echo quit
         } | ftp -nv $RHOST
 
-- 
2.38.1



More information about the ltp mailing list