tests/search: test a found key without search permissions

These stanzas were essentially duplicates of the previous blocks.

Fix them to test first disabling Search on the first keyring and then the
second keyring.  Also add disabling of Search on the target key and
checking searches from the session keyring.

[DH: Modified to fix the searches and add Ben's change as a separate test
 in its own right]

Signed-off-by: Ben Boeckel <mathstuf@gmail.com>
Signed-off-by: David Howells <dhowells@redhat.com>
1 file changed