Skip to content

Commit b8e1e77

Browse files
DejaGNU: Set correct password
There are issues with FTP procedures when running regressions, naimly an error 'can not find channel named "exp5"' in ftp_download. It seems that they have been happening because ftdp expects password even when it is empty, but DejaGNU has was sending it like `user $user $pass`, so when password is an empty string, ftpd was treating like an absense of password in command, since there are no quaotes. To workaround this issue I set `ftp_passwrod` to \'\', so DejaGNU will send it like `user $user ''`. That will make sure that ftpd will treat this as an empty assword. It looks like that this problem poped up after rebasing to the latest buildroot release. Signed-off-by: Anton Kolesov <[email protected]>
1 parent 16eb17d commit b8e1e77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dejagnu/baseboards/arc-linux-aa4.exp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ set_board_info telnet_exec_timeout 120
5858

5959
# Set up FTP connection details.
6060
set_board_info ftp_username root
61-
set_board_info ftp_password ""
61+
set_board_info ftp_password "\'\'"
6262
set_board_info ftp_download_timeout 10
6363
set_board_info ftp_upload_timeout 10
6464

0 commit comments

Comments
 (0)