[PATCH 1/1] fix tests if scp is not installed

Damien Miller djm at mindrot.org
Thu Jan 30 09:48:08 EST 2014


On Wed, 29 Jan 2014, Christian Hesse wrote:

> -${SCP} -S ${SSH} -F $OBJ/ssh_config -oControlPath=$CTL otherhost:${DATA} ${COPY} >>$TEST_REGRESS_LOGFILE 2>&1
> +${SCP} -S ${OBJ}/scp-ssh-wrapper.scp -F $OBJ/ssh_config -oControlPath=$CTL otherhost:${DATA} ${COPY} >>$TEST_REGRESS_LOGFILE 2>&1

Unfortunately, this will cause scp to skip using ssh completely as the
-S option specifies a replacement for ssh. We could either 1) make a
different wrapper that runs the scp under test via ssh, 2) add an option
to scp that lets it specify an explicit path to a scp binary to run on
the remote end or 3) remove scp from the test entirely.

I don't much like (2) as I don't want to add more options.

-d


More information about the openssh-unix-dev mailing list