[openssh-commits] [openssh] 02/05: Move the TEST_SSH_PORT section down a bit.
git+noreply at mindrot.org
git+noreply at mindrot.org
Wed Apr 7 17:03:04 AEST 2021
This is an automated email from the git hooks/post-receive script.
dtucker pushed a commit to branch master
in repository openssh.
commit ef4f46ab4387bb863b471bad124d46e8d911a79a
Author: Darren Tucker <dtucker at dtucker.net>
Date: Wed Apr 7 09:59:15 2021 +1000
Move the TEST_SSH_PORT section down a bit.
This groups the portable-specific changes together and makes it a
little more likely that patches will apply cleanly.
---
regress/test-exec.sh | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/regress/test-exec.sh b/regress/test-exec.sh
index 4d04e04b..f6d7f38a 100644
--- a/regress/test-exec.sh
+++ b/regress/test-exec.sh
@@ -17,12 +17,6 @@ CYGWIN*)
;;
esac
-if [ ! -z "$TEST_SSH_PORT" ]; then
- PORT="$TEST_SSH_PORT"
-else
- PORT=4242
-fi
-
# If configure tells us to use a different egrep, create a wrapper function
# to call it. This means we don't need to change all the tests that depend
# on a good implementation.
@@ -47,6 +41,12 @@ if test -z "$LOGNAME"; then
export LOGNAME
fi
+if [ ! -z "$TEST_SSH_PORT" ]; then
+ PORT="$TEST_SSH_PORT"
+else
+ PORT=4242
+fi
+
OBJ=$1
if [ "x$OBJ" = "x" ]; then
echo '$OBJ not defined'
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list