diff options
author | Colin Watson <cjwatson@debian.org> | 2019-06-14 12:05:19 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2019-06-14 12:05:38 +0100 |
commit | 836c96c7d2d96b16bf571ab4f452520ea5d8d404 (patch) | |
tree | c886c8f347b15d966eb2eb5a56383ab6c4c9aa5e /regress | |
parent | 86395f5f3444767002802ce4b5c27dcbb5d32286 (diff) | |
parent | 0c3b0631695be33f711eda233bfee3dab77d405c (diff) |
Fix interop tests for recent regress changes
Diffstat (limited to 'regress')
-rw-r--r-- | regress/Makefile | 10 | ||||
-rw-r--r-- | regress/conch-ciphers.sh | 2 | ||||
-rw-r--r-- | regress/test-exec.sh | 16 |
3 files changed, 14 insertions, 14 deletions
diff --git a/regress/Makefile b/regress/Makefile index 6fdfcc8ca..491a3a46a 100644 --- a/regress/Makefile +++ b/regress/Makefile | |||
@@ -110,12 +110,12 @@ CLEANFILES= *.core actual agent-key.* authorized_keys_${USERNAME} \ | |||
110 | modpipe netcat no_identity_config \ | 110 | modpipe netcat no_identity_config \ |
111 | pidfile putty.rsa2 ready regress.log \ | 111 | pidfile putty.rsa2 ready regress.log \ |
112 | remote_pid revoked-* rsa rsa-agent rsa-agent.pub rsa.pub \ | 112 | remote_pid revoked-* rsa rsa-agent rsa-agent.pub rsa.pub \ |
113 | rsa1 rsa1-agent rsa1-agent.pub rsa1.pub \ | 113 | rsa1 rsa1-agent rsa1-agent.pub rsa1.pub rsa_ssh2_cr.prv \ |
114 | rsa_oldfmt rsa_oldfmt.pub \ | 114 | rsa_ssh2_crnl.prv scp-ssh-wrapper.exe \ |
115 | rsa_ssh2_cr.prv rsa_ssh2_crnl.prv scp-ssh-wrapper.exe \ | ||
116 | scp-ssh-wrapper.scp setuid-allowed sftp-server.log \ | 115 | scp-ssh-wrapper.scp setuid-allowed sftp-server.log \ |
117 | sftp-server.sh sftp.log ssh-log-wrapper.sh ssh.log \ | 116 | sftp-server.sh sftp.log ssh-log-wrapper.sh \ |
118 | ssh_config ssh_config.* ssh_proxy ssh_proxy_bak \ | 117 | ssh-rsa_oldfmt ssh-rsa_oldfmt.pub \ |
118 | ssh.log ssh_config ssh_config.* ssh_proxy ssh_proxy_bak \ | ||
119 | ssh_proxy_envpass sshd.log sshd_config sshd_config_minimal \ | 119 | ssh_proxy_envpass sshd.log sshd_config sshd_config_minimal \ |
120 | sshd_config.orig sshd_proxy sshd_proxy.* sshd_proxy_bak \ | 120 | sshd_config.orig sshd_proxy sshd_proxy.* sshd_proxy_bak \ |
121 | sshd_proxy_orig t10.out t10.out.pub t12.out t12.out.pub \ | 121 | sshd_proxy_orig t10.out t10.out.pub t12.out t12.out.pub \ |
diff --git a/regress/conch-ciphers.sh b/regress/conch-ciphers.sh index c7df19fd4..fa24552b0 100644 --- a/regress/conch-ciphers.sh +++ b/regress/conch-ciphers.sh | |||
@@ -16,7 +16,7 @@ for c in aes256-ctr aes256-cbc aes192-ctr aes192-cbc aes128-ctr aes128-cbc \ | |||
16 | rm -f ${COPY} | 16 | rm -f ${COPY} |
17 | # XXX the 2nd "cat" seems to be needed because of buggy FD handling | 17 | # XXX the 2nd "cat" seems to be needed because of buggy FD handling |
18 | # in conch | 18 | # in conch |
19 | ${CONCH} --identity $OBJ/rsa_oldfmt --port $PORT --user $USER -e none \ | 19 | ${CONCH} --identity $OBJ/ssh-rsa_oldfmt --port $PORT --user $USER -e none \ |
20 | --known-hosts $OBJ/known_hosts --notty --noagent --nox11 -n \ | 20 | --known-hosts $OBJ/known_hosts --notty --noagent --nox11 -n \ |
21 | 127.0.0.1 "cat ${DATA}" 2>/dev/null | cat > ${COPY} | 21 | 127.0.0.1 "cat ${DATA}" 2>/dev/null | cat > ${COPY} |
22 | if [ $? -ne 0 ]; then | 22 | if [ $? -ne 0 ]; then |
diff --git a/regress/test-exec.sh b/regress/test-exec.sh index 08338121b..83c7d02e6 100644 --- a/regress/test-exec.sh +++ b/regress/test-exec.sh | |||
@@ -508,9 +508,9 @@ esac | |||
508 | if test "$REGRESS_INTEROP_CONCH" = "yes" ; then | 508 | if test "$REGRESS_INTEROP_CONCH" = "yes" ; then |
509 | # Convert rsa key to old format to work around | 509 | # Convert rsa key to old format to work around |
510 | # https://twistedmatrix.com/trac/ticket/9515 | 510 | # https://twistedmatrix.com/trac/ticket/9515 |
511 | cp $OBJ/rsa $OBJ/rsa_oldfmt | 511 | cp $OBJ/ssh-rsa $OBJ/ssh-rsa_oldfmt |
512 | cp $OBJ/rsa.pub $OBJ/rsa_oldfmt.pub | 512 | cp $OBJ/ssh-rsa.pub $OBJ/ssh-rsa_oldfmt.pub |
513 | ${SSHKEYGEN} -p -N '' -m PEM -f $OBJ/rsa_oldfmt >/dev/null | 513 | ${SSHKEYGEN} -p -N '' -m PEM -f $OBJ/ssh-rsa_oldfmt >/dev/null |
514 | fi | 514 | fi |
515 | 515 | ||
516 | # If PuTTY is present and we are running a PuTTY test, prepare keys and | 516 | # If PuTTY is present and we are running a PuTTY test, prepare keys and |
@@ -539,13 +539,13 @@ if test "$REGRESS_INTEROP_PUTTY" = "yes" ; then | |||
539 | >> $OBJ/authorized_keys_$USER | 539 | >> $OBJ/authorized_keys_$USER |
540 | 540 | ||
541 | # Convert rsa2 host key to PuTTY format | 541 | # Convert rsa2 host key to PuTTY format |
542 | cp $OBJ/rsa $OBJ/rsa_oldfmt | 542 | cp $OBJ/ssh-rsa $OBJ/ssh-rsa_oldfmt |
543 | ${SSHKEYGEN} -p -N '' -m PEM -f $OBJ/rsa_oldfmt >/dev/null | 543 | ${SSHKEYGEN} -p -N '' -m PEM -f $OBJ/ssh-rsa_oldfmt >/dev/null |
544 | ${SRC}/ssh2putty.sh 127.0.0.1 $PORT $OBJ/rsa_oldfmt > \ | 544 | ${SRC}/ssh2putty.sh 127.0.0.1 $PORT $OBJ/ssh-rsa_oldfmt > \ |
545 | ${OBJ}/.putty/sshhostkeys | 545 | ${OBJ}/.putty/sshhostkeys |
546 | ${SRC}/ssh2putty.sh 127.0.0.1 22 $OBJ/rsa_oldfmt >> \ | 546 | ${SRC}/ssh2putty.sh 127.0.0.1 22 $OBJ/ssh-rsa_oldfmt >> \ |
547 | ${OBJ}/.putty/sshhostkeys | 547 | ${OBJ}/.putty/sshhostkeys |
548 | rm -f $OBJ/rsa_oldfmt | 548 | rm -f $OBJ/ssh-rsa_oldfmt |
549 | 549 | ||
550 | # Setup proxied session | 550 | # Setup proxied session |
551 | mkdir -p ${OBJ}/.putty/sessions | 551 | mkdir -p ${OBJ}/.putty/sessions |