mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
tests/migrations: Fix distcheck.
* tests/migrations/Makefile.am (TESTS): Rename test. (TEST_FILES): Update list. (EXTRA_DIST): Add common.scm. * tests/migrations/common.scm (GPGTAR): New variable. (dearmor): Rename and untar archive. * tests/migrations/extended-private-key-format.scm: Rename. (setup): Update. * tests/migrations/extended-pkf.tar.asc: New file. * tests/migrations/extended-private-key-format.gpghome: Delete. * tests/migrations/from-classic.gpghome: Likewise. * tests/migrations/from-classic.scm (setup): Update. * tests/migrations/from-classic.tar.asc: New file. Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
parent
0b8a335879
commit
b70d08827d
14 changed files with 440 additions and 322 deletions
|
@ -19,14 +19,10 @@
|
|||
|
||||
(load (with-path "common.scm"))
|
||||
|
||||
(define src-gpghome (in-srcdir "from-classic.gpghome"))
|
||||
(define src-tarball (in-srcdir "from-classic.tar.asc"))
|
||||
|
||||
(define (setup)
|
||||
(for-each-p'
|
||||
"Preparing home directory"
|
||||
(lambda (f) (dearmor f (basename-suffix f ".asc")))
|
||||
(lambda (f) (basename-suffix f ".asc"))
|
||||
(glob (string-append src-gpghome "/*.asc")))
|
||||
(untar-armored src-tarball)
|
||||
(setenv "GNUPGHOME" (getcwd) #t))
|
||||
|
||||
(define (trigger-migration)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue