[openssh-commits] [openssh] 01/03: Remove skipping test when scp not in path.

git+noreply at mindrot.org git+noreply at mindrot.org
Fri Jan 13 16:04:14 AEDT 2023


This is an automated email from the git hooks/post-receive script.

dtucker pushed a commit to branch master
in repository openssh.

commit 8a5e99a70fcf9b022a8aa175ebf6a71f58511da3
Author: Darren Tucker <dtucker at dtucker.net>
Date:   Fri Jan 13 15:49:48 2023 +1100

    Remove skipping test when scp not in path.
    
    An upcoming change renders this obsolete by adding scp's path to the
    test sshd's PATH, and removing this first will make the subsequent sync
    easier.
---
 regress/scp3.sh | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/regress/scp3.sh b/regress/scp3.sh
index 47db47cd..f71b1567 100644
--- a/regress/scp3.sh
+++ b/regress/scp3.sh
@@ -9,12 +9,6 @@ COPY2=${OBJ}/copy2
 DIR=${COPY}.dd
 DIR2=${COPY}.dd2
 
-$SSH -F $OBJ/ssh_proxy somehost \
-    'IFS=":"; for i in $PATH;do [ -x "$i/scp" ] && exit 0; done; exit 1'
-if [ $? -eq 1 ]; then
-	skip "No scp on remote path."
-fi
-
 SRC=`dirname ${SCRIPT}`
 cp ${SRC}/scp-ssh-wrapper.sh ${OBJ}/scp-ssh-wrapper.scp
 chmod 755 ${OBJ}/scp-ssh-wrapper.scp

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list