# # # patch "tests/ssh_agent/__driver__.lua" # from [95cd8c83271295eacfdafa032182f9ee07ae1913] # to [ab2aa35c08886878f31dcccd54f76e55e04a8bc5] # ============================================================ --- tests/ssh_agent/__driver__.lua 95cd8c83271295eacfdafa032182f9ee07ae1913 +++ tests/ssh_agent/__driver__.lua ab2aa35c08886878f31dcccd54f76e55e04a8bc5 @@ -290,3 +290,12 @@ end if not ok then err("identity was not added to ssh-agent") end + +-- * (ok) commit with passworded key (provide password explicitly, although will be not necessary as SSH-agent is used) +addfile("some_file21", "test") +check(mtn("ci", "--key", "address@hidden", "--message", "commit msg"), 0, false, false, "pass\n") + +-- * (ok) commit with passworded key (provide no password at all, because SSH-agent is used) +addfile("some_file22", "test") +check(mtn("ci", "--key", "address@hidden", "--message", "commit msg"), 0, false, false) +