We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ef1d65 commit 38d3558Copy full SHA for 38d3558
test/clj_ssh/ssh_test.clj
@@ -329,7 +329,9 @@ list, Alan Dipert and MeikelBrandmeyer."
329
(let [result (ssh "localhost" :in "tty -s" :pty true :username (username))]
330
(is (= 0 (first result))))
331
(let [result (ssh "localhost" :in "tty -s" :pty false :username (username))]
332
- (is (= 1 (first result)))))
+ (is (= 1 (first result))))
333
+ (let [result (ssh "localhost" :in "ssh-add -l" :agent-forwarding true :username (username))]
334
+ (is (zero? (first result)))))
335
(with-default-session-options {:strict-host-key-checking :no}
336
(with-default-identity (private-key-path)
337
(let [result (ssh "localhost" :in "echo hello" :username (username))]
0 commit comments