tests: Make error message more helpful.
* tests/gpg/t-keylist.c (main): Print number of returned and expected keys. Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
parent
1b55e90d42
commit
a13e4abe94
@ -568,7 +568,8 @@ main (int argc, char **argv)
|
||||
|
||||
if (keys[i].fpr)
|
||||
{
|
||||
fprintf (stderr, "Less keys returned than expected\n");
|
||||
fprintf (stderr, "Less keys (%d) returned than expected (%d)\n",
|
||||
i, DIM (keys) - 1);
|
||||
exit (1);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user