diff options
Diffstat (limited to 'testdata')
| -rw-r--r-- | testdata/http_server/play_ssh_config_changes/test.data | 20 | ||||
| -rw-r--r-- | testdata/play/awwanssh.test/play_test.data | 17 |
2 files changed, 24 insertions, 13 deletions
diff --git a/testdata/http_server/play_ssh_config_changes/test.data b/testdata/http_server/play_ssh_config_changes/test.data index 00a6941..f9580b5 100644 --- a/testdata/http_server/play_ssh_config_changes/test.data +++ b/testdata/http_server/play_ssh_config_changes/test.data @@ -23,13 +23,17 @@ Host oldhost "begin_at": "2023-11-26T15:21:00Z", "end_at": "", "error": "", - "output": [] + "output": [ + { + "Type": "begin", + "Data": "2023-11-26T15:21:00Z", + "ID": "1" + } + ] }, "code": 200 } -<<< play_on_oldhost:output - >>> .ssh/config:newhost Host oldhost Hostname 127.0.0.1 @@ -60,9 +64,13 @@ Host newhost "begin_at": "2023-11-26T15:21:00Z", "end_at": "", "error": "", - "output": [] + "output": [ + { + "Type": "begin", + "Data": "2023-11-26T15:21:00Z", + "ID": "1" + } + ] }, "code": 200 } - -<<< play_on_newhost:output diff --git a/testdata/play/awwanssh.test/play_test.data b/testdata/play/awwanssh.test/play_test.data index e67163f..0a0c88d 100644 --- a/testdata/play/awwanssh.test/play_test.data +++ b/testdata/play/awwanssh.test/play_test.data @@ -1,11 +1,14 @@ Test on "play" command. -<<< play_with_local:output - --- SSH connection: awwanssh@127.0.0.1:10022 - --- SSH identity file: [/home/awwan/.ssh/id_ed25519] - === BEGIN: play testdata/play/awwanssh.test/play.aww 1- - --> 2: pwd +<<< play_with_local:stdout + --- SSH connection: awwanssh@127.0.0.1:10022 + --- SSH identity file: [/home/awwan/.ssh/id_ed25519] + === BEGIN: play testdata/play/awwanssh.test/play.aww 1- + --> 2: pwd + --> 5: #local: pwd + === END: play testdata/play/awwanssh.test/play.aww 1- + +<<< play_with_local:stderr /home/awwanssh - --> 5: #local: pwd /home/awwan/src - === END: play testdata/play/awwanssh.test/play.aww 1- + |
