[LTP] [PATCH] ftp/ftp01.sh: Fix list_files
Akihiko Odaki
akihiko.odaki@daynix.com
Fri Dec 2 10:33:42 CET 2022
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
More information about the ltp
mailing list