mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
tests: Move common functionality.
* tests/openpgp/defs.scm (with-home-directory, with-ephemeral-home-directory): Move... * tests/gpgscm/gnupg.scm: ... to this new file. * tests/gpgscm/main.c (main): Load the new file. Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
parent
3133402241
commit
ccd2187212
3 changed files with 46 additions and 26 deletions
|
@ -314,6 +314,8 @@ main (int argc, char **argv)
|
|||
err = load (sc, "repl.scm", 0, 1);
|
||||
if (! err)
|
||||
err = load (sc, "tests.scm", 0, 1);
|
||||
if (! err)
|
||||
err = load (sc, "gnupg.scm", 0, 1);
|
||||
if (err)
|
||||
{
|
||||
fprintf (stderr, "Error initializing gpgscm: %s.\n",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue