Skip to content

Commit

Permalink
more changes to at least try to get the exit code
Browse files Browse the repository at this point in the history
  • Loading branch information
rapier1 committed Jun 30, 2023
1 parent d119e07 commit 3669b52
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions regress/rekey.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,10 @@ ssh_data_rekeying()
_opts="$_opts -oCompression=no"
# echo "${SSH} <${DATA} $_opts -v -F $OBJ/ssh_proxy somehost cat > ${COPY}"
${SSH} <${DATA} $_opts -v -F $OBJ/ssh_proxy somehost "cat > ${COPY}"
# if [ $? -ne 0 ]; then
# fail "ssh failed ($@ $?)"
# fi
echo "exit code $?"
if [ $? -ne 0 ]; then
fail "ssh failed ($@ $?)"
fi
cmp ${DATA} ${COPY} || fail "corrupted copy ($@)"
n=`grep 'NEWKEYS sent' ${LOG} | wc -l`
n=`expr $n - 1`
Expand Down Expand Up @@ -63,8 +64,7 @@ if ${SSH} -Q cipher-auth | grep '^.*$' >/dev/null 2>&1 ; then
done
fi

#for s in 16 1k 128k 256k; do
for s in 16 1k 128k; do
for s in 16 1k 128k 256k; do
verbose "client rekeylimit ${s}"
ssh_data_rekeying "" -oCompression=no -oRekeyLimit=$s
done
Expand Down

0 comments on commit 3669b52

Please sign in to comment.