mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
tests: Improve handling of Windows newlines.
* tests/gpgscm/lib.scm (string-split-newlines): New function. * tests/openpgp/default-key.scm: Use new function. * tests/openpgp/defs.scm: Likewise. * tests/openpgp/export.scm: Likewise. * tests/openpgp/import.scm: Likewise. Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
parent
11eac7eb2f
commit
1f76f8d8bc
5 changed files with 17 additions and 8 deletions
|
@ -71,6 +71,6 @@
|
|||
(unless (any (lambda (line)
|
||||
(and (string-prefix? line ":pubkey enc packet:")
|
||||
(string-suffix? line "45117079")))
|
||||
(string-split c #\newline))
|
||||
(string-split-newlines c))
|
||||
(exit 1))))))
|
||||
'("8BC90111" "3E880CFF" "F5F77B83" "45117079" "1EA97479"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue