tests,w32: Cope with Windows line endings.

* tests/openpgp/issue2015.scm: Rstrip line before comparison.

Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
Justus Winter 2016-10-20 16:41:18 +02:00
parent 2d794779e0
commit bf37916a23
1 changed files with 2 additions and 1 deletions

View File

@ -25,5 +25,6 @@
(let ((response (call-popen `(,(tool 'gpg-connect-agent))
"GET_PASSPHRASE --no-ask some_id X X X")))
(unless (string=? response "OK 736F6D655F70617373706872617365\n")
(unless (string=? (string-rtrim char-whitespace? response)
"OK 736F6D655F70617373706872617365")
(error "Could not retrieve passphrase from cache:" response)))