diff options
| author | Shulhan <ms@kilabit.info> | 2023-10-30 21:59:17 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2023-10-30 22:00:34 +0700 |
| commit | 209e9ddd1d49fd6b9384fa0dab27760480fba442 (patch) | |
| tree | bbf96f0073f71329b4913a38138b05199b9692a0 /testdata | |
| parent | a4df1481d6108731e231750721e4d2cfe0cee8bd (diff) | |
| download | awwan-209e9ddd1d49fd6b9384fa0dab27760480fba442.tar.xz | |
all: pass Request when creating new SSH client
Instead of passing stdout and stderr as "io.Writer", pass the Request,
so we can log using the Request mlog.
While at it, return error from sshClient rmdirAll so the caller can log
the error.
Diffstat (limited to 'testdata')
| -rw-r--r-- | testdata/play/awwanssh.test/play_test.data | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testdata/play/awwanssh.test/play_test.data b/testdata/play/awwanssh.test/play_test.data index 3c63013..e2081fa 100644 --- a/testdata/play/awwanssh.test/play_test.data +++ b/testdata/play/awwanssh.test/play_test.data @@ -1,8 +1,8 @@ Test on "play" command. <<< play_with_local:output ---- SSH connection: awwanssh@127.0.0.1:10022 ---- SSH identity file: [/home/awwan/.ssh/id_ed25519] +- play.aww --- SSH connection: awwanssh@127.0.0.1:10022 +- play.aww --- SSH identity file: [/home/awwan/.ssh/id_ed25519] - play.aww === BEGIN: play testdata/play/awwanssh.test/play.aww 1- - play.aww --> 2: pwd /home/awwanssh |
