diff options
author | Justus Winter <[email protected]> | 2016-08-10 05:58:24 +0000 |
---|---|---|
committer | Justus Winter <[email protected]> | 2016-08-10 05:58:24 +0000 |
commit | b2b21580b68f3a9069562f99675b389a0d044713 (patch) | |
tree | 2e741d81a60c75cfe3a22059507c2adcb2c502f9 | |
parent | agent: SSH support fix. (diff) | |
download | gnupg-b2b21580b68f3a9069562f99675b389a0d044713.tar.gz gnupg-b2b21580b68f3a9069562f99675b389a0d044713.zip |
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 <[email protected]>
-rwxr-xr-x | tests/openpgp/ssh.scm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/openpgp/ssh.scm b/tests/openpgp/ssh.scm index dfa1f5266..1fe2e5dc6 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")) |