[openssh-commits] [openssh] 04/05: Move make_tmpdir() into portable-specific area.
git+noreply at mindrot.org
git+noreply at mindrot.org
Wed Apr 7 17:03:06 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 fea8f4b1aa85026ad5aee5ad8e1599a8d5141fe0
Author: Darren Tucker <dtucker at dtucker.net>
Date: Wed Apr 7 10:18:32 2021 +1000
Move make_tmpdir() into portable-specific area.
Reduces diff vs OpenBSD and makes it more likely diffs 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 da1963aa..e9018b5e 100644
--- a/regress/test-exec.sh
+++ b/regress/test-exec.sh
@@ -336,6 +336,12 @@ if ! have_prog hostname; then
uname -n
}
fi
+
+make_tmpdir ()
+{
+ SSH_REGRESS_TMP="$($OBJ/mkdtemp openssh-XXXXXXXX)" || \
+ fatal "failed to create temporary directory"
+}
# End of portable specific functions
stop_sshd ()
@@ -369,12 +375,6 @@ stop_sshd ()
fi
}
-make_tmpdir ()
-{
- SSH_REGRESS_TMP="$($OBJ/mkdtemp openssh-XXXXXXXX)" || \
- fatal "failed to create temporary directory"
-}
-
# helper
cleanup ()
{
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list