tests: Make t-edit-sign more robust.
* tests/gpg/t-edit-sign.c (interact_fnc): Provide the default answer. -- A default answer to prompts should always be given.
This commit is contained in:
parent
5d91182c95
commit
9ee74b68e6
@ -99,10 +99,8 @@ interact_fnc (void *opaque, const char *status, const char *args, int fd)
|
||||
}
|
||||
|
||||
if (result)
|
||||
{
|
||||
gpgme_io_writen (fd, result, strlen (result));
|
||||
gpgme_io_writen (fd, "\n", 1);
|
||||
}
|
||||
gpgme_io_writen (fd, result, strlen (result));
|
||||
gpgme_io_writen (fd, "\n", 1);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user