diff options
author | Justus Winter <[email protected]> | 2016-10-20 14:41:18 +0000 |
---|---|---|
committer | Justus Winter <[email protected]> | 2016-10-20 15:01:23 +0000 |
commit | bf37916a23bd0929fc4a5f28c9a41f43c5a473f6 (patch) | |
tree | 374acf58d463370ba847c9eb2a808a07683c7541 | |
parent | tests: Create and remove socket directories. (diff) | |
download | gnupg-bf37916a23bd0929fc4a5f28c9a41f43c5a473f6.tar.gz gnupg-bf37916a23bd0929fc4a5f28c9a41f43c5a473f6.zip |
tests,w32: Cope with Windows line endings.
* tests/openpgp/issue2015.scm: Rstrip line before comparison.
Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to '')
-rwxr-xr-x | tests/openpgp/issue2015.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/openpgp/issue2015.scm b/tests/openpgp/issue2015.scm index 536cb8f8a..e51ece465 100755 --- a/tests/openpgp/issue2015.scm +++ b/tests/openpgp/issue2015.scm @@ -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))) |