public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH] ftp/ftp01.sh: Fix list_files
@ 2022-12-02  9:33 Akihiko Odaki
  2022-12-02 21:56 ` Petr Vorel
  0 siblings, 1 reply; 2+ messages in thread
From: Akihiko Odaki @ 2022-12-02  9:33 UTC (permalink / raw)
  Cc: Yan Vugenfirer, Yuri Benditovich, ltp

The arguments and the returned values were swapped.

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

diff --git a/testcases/network/tcp_cmds/ftp/ftp01.sh b/testcases/network/tcp_cmds/ftp/ftp01.sh
index da3cdb375..53d1eec53 100755
--- a/testcases/network/tcp_cmds/ftp/ftp01.sh
+++ b/testcases/network/tcp_cmds/ftp/ftp01.sh
@@ -25,8 +25,8 @@ do_test()
 list_files()
 {
     case $1 in
-    binary) echo 'ascii.sm ascii.med ascii.lg ascii.jmb';;
-    ascii) echo 'bin.sm bin.med bin.lg bin.jmb';;
+    ascii) echo 'ascii.sm ascii.med ascii.lg ascii.jmb';;
+    binary) echo 'bin.sm bin.med bin.lg bin.jmb';;
     esac
 }
 
-- 
2.38.1


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [LTP] [PATCH] ftp/ftp01.sh: Fix list_files
  2022-12-02  9:33 [LTP] [PATCH] ftp/ftp01.sh: Fix list_files Akihiko Odaki
@ 2022-12-02 21:56 ` Petr Vorel
  0 siblings, 0 replies; 2+ messages in thread
From: Petr Vorel @ 2022-12-02 21:56 UTC (permalink / raw)
  To: Akihiko Odaki; +Cc: Yan Vugenfirer, Yuri Benditovich, ltp

Hi Akihiko,

> The arguments and the returned values were swapped.
Thanks, merged!

Kind regards,
Petr

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-12-02 21:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-02  9:33 [LTP] [PATCH] ftp/ftp01.sh: Fix list_files Akihiko Odaki
2022-12-02 21:56 ` Petr Vorel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox