]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
Remove skipping test when scp not in path.
authorDarren Tucker <dtucker@dtucker.net>
Fri, 13 Jan 2023 04:49:48 +0000 (15:49 +1100)
committerDarren Tucker <dtucker@dtucker.net>
Fri, 13 Jan 2023 04:49:48 +0000 (15:49 +1100)
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

index 47db47cd6a7d6055cd4d612acd62dced58ad7bd6..f71b1567755b7da6f8278fefc8fbe9c8ac6ad0d8 100644 (file)
@@ -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