# # # patch "tests/read_and_convert_old_privkey_packet/__driver__.lua" # from [170fc215ea5899a0d818b8cabe97ef575a213189] # to [0d7a15b6f15fef86f948484621257c421cbda052] # ============================================================ --- tests/read_and_convert_old_privkey_packet/__driver__.lua 170fc215ea5899a0d818b8cabe97ef575a213189 +++ tests/read_and_convert_old_privkey_packet/__driver__.lua 0d7a15b6f15fef86f948484621257c421cbda052 @@ -14,22 +14,22 @@ keyid = string.sub(line, 0, 40) line = readfile("stdout") keyid = string.sub(line, 0, 40) -check(qgrep("keypair", "keys/" .. keyid)) -check(not qgrep("privkey", "keys/" .. keyid)) +check(qgrep("keypair", "keys/address@hidden" .. keyid)) +check(not qgrep("privkey", "keys/address@hidden" .. keyid)) addfile("foo", "foo") -- if we put the old privkey in the keydir, it should get -- auto-converted the first time anything tries to read it -check(remove("keys/" .. keyid)) +check(remove("keys/address@hidden" .. keyid)) check(get("old_privkey", "keys/address@hidden")) check(mtn("ls", "keys"), 0, true, true, "address@hidden") check(qgrep("address@hidden", "stdout")) check(qgrep("converting old-format", "stderr")) check(not exists("keys/address@hidden")) -check(qgrep("keypair", "keys/" .. keyid)) -check(not qgrep("privkey", "keys/" .. keyid)) +check(qgrep("keypair", "keys/address@hidden" .. keyid)) +check(not qgrep("privkey", "keys/address@hidden" .. keyid)) -- check that we can use the converted key to commit with