# # # patch "tests/heads_of_certs/__driver__.lua" # from [a986f8c9041bea24f2bb3a2b667177dcea111a2b] # to [5bfa3e85f8b1c44815754f36c324d749ce7681d9] # ============================================================ --- tests/heads_of_certs/__driver__.lua a986f8c9041bea24f2bb3a2b667177dcea111a2b +++ tests/heads_of_certs/__driver__.lua 5bfa3e85f8b1c44815754f36c324d749ce7681d9 @@ -16,14 +16,14 @@ check(mtn("cert", second, "testcert", "v check(mtn("cert", second, "testcert", "value")) -- Check that a log without H: gives both the first and second commit... -check(mtn("log", "--from=c:testcert", "--last=1"), 0, true, false) -check(qgrep("Revision: "..first, "stdout")) -check(qgrep("Revision: "..second, "stdout")) +check(mtn("log", "--from=c:testcert"), 0, true, true) +check(qgrep("expanded to '"..first, "stderr")) +check(qgrep("expanded to '"..second, "stderr")) -- Check that a log with H: gives only the second commit... -check(mtn("log", "--from=H:c:testcert", "--last=1"), 0, true, false) -check(not qgrep("Revision: "..first, "stdout")) -check(qgrep("Revision: "..second, "stdout")) +check(mtn("log", "--from=H:c:testcert"), 0, true, true) +check(not qgrep("expanded to '"..first, "stderr")) +check(qgrep("expanded to '"..second, "stderr")) -- Note that if the third revision is in the log, something else is wrong... -- There is really no case for this last test, just paranoia. +check(not qgrep(third, "stderr")) -check(not qgrep(third, "stdout"))