[Pkg-gnupg-commit] [gnupg2] 60/112: tests: Make ssh test more robust.

Daniel Kahn Gillmor dkg at fifthhorseman.net
Tue Aug 30 17:48:20 UTC 2016


This is an automated email from the git hooks/post-receive script.

dkg pushed a commit to branch master
in repository gnupg2.

commit b2b21580b68f3a9069562f99675b389a0d044713
Author: Justus Winter <justus at g10code.com>
Date:   Wed Aug 10 07:58:24 2016 +0200

    tests: Make ssh test more robust.
    
    * tests/openpgp/ssh.scm: Drop the 'MD5:' which was not printed by
    previous ssh versions.
    
    Signed-off-by: Justus Winter <justus at g10code.com>
---
 tests/openpgp/ssh.scm | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/tests/openpgp/ssh.scm b/tests/openpgp/ssh.scm
index dfa1f52..1fe2e5d 100755
--- a/tests/openpgp/ssh.scm
+++ b/tests/openpgp/ssh.scm
@@ -33,10 +33,10 @@
 	     (path-expand "ssh-add" (string-split (getenv "PATH") *pathsep*))))
 
 (define keys
-  '(("dsa" "MD5:9a:e1:f1:5f:46:ea:a5:06:e1:e2:f8:38:8e:06:54:58")
-    ("rsa" "MD5:c9:85:b5:55:00:84:a9:82:5a:df:d6:62:1b:5a:28:22")
-    ("ecdsa" "MD5:93:37:30:a6:4e:e7:6a:22:79:77:8e:bf:ed:14:e9:8e")
-    ("ed25519" "MD5:08:df:be:af:d2:f5:32:20:3a:1c:56:06:be:31:0f:bf")))
+  '(("dsa" "9a:e1:f1:5f:46:ea:a5:06:e1:e2:f8:38:8e:06:54:58")
+    ("rsa" "c9:85:b5:55:00:84:a9:82:5a:df:d6:62:1b:5a:28:22")
+    ("ecdsa" "93:37:30:a6:4e:e7:6a:22:79:77:8e:bf:ed:14:e9:8e")
+    ("ed25519" "08:df:be:af:d2:f5:32:20:3a:1c:56:06:be:31:0f:bf")))
 
 (for-each-p'
  "Importing ssh keys..."
@@ -62,5 +62,5 @@
  (pipe:spawn `(,SSH-ADD -)))
 (unless
  (string-contains? (call-popen `(,SSH-ADD -l "-E" md5) "")
-		   "MD5:c9:85:b5:55:00:84:a9:82:5a:df:d6:62:1b:5a:28:22")
+		   "c9:85:b5:55:00:84:a9:82:5a:df:d6:62:1b:5a:28:22")
  (error "known private key not (re-)added to sshcontrol"))

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gnupg2.git



More information about the Pkg-gnupg-commit mailing list