Move scp path setting to a helper function.
authordtucker <dtucker@openbsd.org>
Fri, 13 Jan 2023 04:47:34 +0000 (04:47 +0000)
committerdtucker <dtucker@openbsd.org>
Fri, 13 Jan 2023 04:47:34 +0000 (04:47 +0000)
commit8dcc14e77464de971383fcedd6f57d92217eafc4
tree3ec00c38aa93bdefaa2fde81db352c8511eaa471
parent27377706d3d5cbb243faa015aca47493cbe67b14
Move scp path setting to a helper function.
The previous commit to add scp to the test sshd's path causes the t-envpass
test to fail when the test scp is given using a fully qualified path.  Put
this in a helper function and only call it from the scp tests.
regress/usr.bin/ssh/multiplex.sh
regress/usr.bin/ssh/scp-uri.sh
regress/usr.bin/ssh/scp.sh
regress/usr.bin/ssh/scp3.sh
regress/usr.bin/ssh/test-exec.sh