# # # patch "tests/k_selector/__driver__.lua" # from [b9282634461488d88cf73163be9baa399e76d8dd] # to [0fc7ce960e26b9798274f3d3c9b69a39a7d6d232] # ============================================================ --- tests/k_selector/__driver__.lua b9282634461488d88cf73163be9baa399e76d8dd +++ tests/k_selector/__driver__.lua 0fc7ce960e26b9798274f3d3c9b69a39a7d6d232 @@ -15,7 +15,7 @@ for _,l in pairs(basicio) do local hash = nil for _,l in pairs(basicio) do if l.name == "hash" then hash = l.values[1] end - if l.name == "given_name" and + if l.name == "given_name" and l.values[1] == "address@hidden" then break end end check(hash ~= nil) @@ -41,6 +41,11 @@ selmap("k:address@hidden", {REV1}) -- positive checks selmap("k:address@hidden", {REV1}) -selmap("k:address@hidden", {REV2}) +-- if the user chosed a local name for a specific key, we can't query +-- the key by its original given name anywhere. this is actually wanted +-- in case the user chosed a local name for one of two keys with the +-- same given names which would otherwise not be distinguishable (beside +-- their hash id) selmap("k:address@hidden", {REV2}) selmap("k:" .. hash, {REV2}) +