# # # patch "tests/ssh_agent/__driver__.lua" # from [5e6e4d41efc7d477e12699ca6449b0a8eef2ece1] # to [1e81ad461c39564f6405f17371238ce176e69a35] # ============================================================ --- tests/ssh_agent/__driver__.lua 5e6e4d41efc7d477e12699ca6449b0a8eef2ece1 +++ tests/ssh_agent/__driver__.lua 1e81ad461c39564f6405f17371238ce176e69a35 @@ -114,12 +114,7 @@ check(mtn("ci", "--ssh-sign=no", "--mess check(mtn("ci", "--ssh-sign=no", "--message", "commit msg"), 0, false, false) -- key should not be in ssh-agent with --ssh-sign=no -check({"ssh-add", "-l"}, 0, true, false) -for line in io.lines("stdout") do - if not string.gmatch(line, "no identities") then - err("identity in ssh-agent when there should be none") - end -end +check({"ssh-add", "-l"}, 1, false, false) -- * (ok) mtn ci with no ssh key with --ssh-sign=check check({"ssh-add", "-D"}, 0, false, false)