Skip to content

Commit

Permalink
fix super-linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Miyoshi-Ryota committed May 5, 2024
1 parent d7d8cc2 commit 06fb848
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -803,7 +803,10 @@ ASYNC_SSH2_TEST_UPLOAD_FILE
#[tokio::test]
async fn client_can_upload_file() {
let client = establish_test_host_connection().await;
let _ = client.upload_file(&env("ASYNC_SSH2_TEST_UPLOAD_FILE"), "/tmp/uploaded").await.unwrap();
let _ = client
.upload_file(&env("ASYNC_SSH2_TEST_UPLOAD_FILE"), "/tmp/uploaded")
.await
.unwrap();
let result = client.execute("cat /tmp/uploaded").await.unwrap();
assert_eq!(result.stdout, "this is a test file\n");
}
Expand Down
2 changes: 1 addition & 1 deletion tests/sshd-test/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM linuxkit/sshd:62036c2a279715d05e8298b9269a0659964f2619-amd64

SHELL ["/bin/bash", "-o", "pipefail", "-c"]

RUN apk add openssh-sftp-server
RUN apk add openssh-sftp-server=9.1_p1-r5

# hadolint ignore=DL3006
RUN echo 'root:root' |chpasswd
Expand Down

0 comments on commit 06fb848

Please sign in to comment.