[darcs-devel] [issue2563] Regression: network/issue2545_command-execution-via-ssh-uri.sh (Darcs1)

Ben Franksen bugs at darcs.net
Sat Feb 10 17:10:06 UTC 2018


New submission from Ben Franksen <ben.franksen at online.de>:

Here is the detailed output:

network/issue2545_command-execution-via-ssh-uri.sh (Darcs1)
(PatienceDiff): [Failed]
| . sshlib                        # Load ssh helpers.
| + . sshlib
| if [ x${REMOTE_DIR} = x ]; then
|   REMOTE_DIR=/tmp/darcs-ssh-test
| fi
| ++ '[' x = x ']'
| ++ REMOTE_DIR=/tmp/darcs-ssh-test
| 
| if [ x"${USE_PUTTY}" != x ]; then
|   DARCS_SSH=plink
|   export DARCS_SSH
|   DARCS_SCP=pscp
|   export DARCS_SCP
|   DARCS_SFTP=psftp
|   export DARCS_SFTP
| fi
| ++ '[' x '!=' x ']'
| 
| if [ x"${USE_CONTROL_MASTER}" != x ]; then
|   DARCS_SSH_FLAGS="--ssh-cm"
|   export DARCS_SSH_FLAGS
| fi
| ++ '[' x '!=' x ']'
| 
| if [ x"${DARCS_SSH}" = x ]; then
|   SSH=ssh
| else
|   SSH=${DARCS_SSH}
| fi
| ++ '[' x = x ']'
| ++ SSH=ssh
| 
| if [ x${REMOTE} = x ]; then
|   REMOTE=$(whoami)@localhost
| fi
| ++ '[' x = x ']'
| whoami
| +++ whoami
| ++ REMOTE=ben at localhost
| 
| init_remote_repo() {
|     repodir="${1:-R}"
| 
|     ${SSH} ${REMOTE} \
|         "rm -rf '${REMOTE_DIR}' && mkdir '${REMOTE_DIR}' && \
|             cd '${REMOTE_DIR}' && darcs init --repo '$repodir'"
| }
| 
| # test if we can connect via ssh, otherwise skip test
| ${SSH} -x -o=NumberofPasswordPrompts=0 ${REMOTE} true || exit 200
| ++ ssh -x -o=NumberofPasswordPrompts=0 ben at localhost true
| 
| # vim: syntax=sh:
| 
| init_remote_repo R              # Create our test repos.
| + init_remote_repo R
| + repodir=R
| + ssh ben at localhost 'rm -rf '\''/tmp/darcs-ssh-test'\'' && mkdir
'\''/tmp/darcs-ssh-test'\'' &&             cd
'\''/tmp/darcs-ssh-test'\'' && darcs init --repo '\''R'\'''
| darcs init      --repo R        #
| + darcs init --repo R
| cd R
| + cd R
| 
| echo "text" > file              # Modify the working dir
| + echo text
| darcs record -lam "First Patch" # Record the changes
| + darcs record -lam 'First Patch'
| 
| check="\"${SSH}\" \"--\" \"${REMOTE}\" \"darcs apply --all --debug
--repodir '${REMOTE_DIR}/R'\""
| + check='"ssh" "--" "ben at localhost" "darcs apply --all --debug
--repodir '\''/tmp/darcs-ssh-test/R'\''"'
| darcs push -a --debug "${REMOTE}":"${REMOTE_DIR}"/R 2>&1 >/dev/null | \
|     grep -F "$check"
| + darcs push -a --debug ben at localhost:/tmp/darcs-ssh-test/R
| + grep -F '"ssh" "--" "ben at localhost" "darcs apply --all --debug
--repodir '\''/tmp/darcs-ssh-test/R'\''"'

----------
messages: 19873
nosy: bf
status: unknown
title: Regression: network/issue2545_command-execution-via-ssh-uri.sh (Darcs1)

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue2563>
__________________________________


More information about the darcs-devel mailing list