File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change 615
615
(is (pos? (count (:out proc))) " no options" )))
616
616
(testing " :out :stream"
617
617
(let [proc (ssh s {:cmd " ls" :out :stream :pty true })]
618
- (is (connected-channel? (:channel proc))
619
- " :channel connected" )
620
618
(is (> (count (slurp (:out-stream proc))) 1 ) " :out-stream" )
621
619
(is (not (connected-channel? (:channel proc)))
622
620
" :channel not connected" )
629
627
(is (zero? (:exit proc)) " zero exit status" )))
630
628
(testing " :out stream"
631
629
(let [proc (ssh s {:in " ls" :out :stream })]
632
- (is (connected-channel? (:channel proc))
633
- " :channel connected" )
634
630
(is (> (count (slurp (:out-stream proc))) 1 ) " :out-stream" )
635
631
(is (not (connected-channel? (:channel proc)))
636
632
" :channel not connected" )
You can’t perform that action at this time.
0 commit comments