diff mbox series

ftp/ftp01.sh: Fix put command specification

Message ID 20221202093311.98914-1-akihiko.odaki@daynix.com
State Accepted
Headers show
Series ftp/ftp01.sh: Fix put command specification | expand

Commit Message

Akihiko Odaki Dec. 2, 2022, 9:33 a.m. UTC
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(-)

Comments

Petr Vorel Dec. 2, 2022, 9:52 p.m. UTC | #1
Hi Akihiko,

> The tested command is put, not post, as the function name indicates.
Indeed, there is no "post" command.

Thanks!

Kind regards,
Petr
diff mbox series

Patch

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