artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f51cb08
)
Make ftpd tests less flaky by ensuring the server has terminated before
author
anton
<anton@openbsd.org>
Tue, 5 Mar 2024 07:01:40 +0000
(07:01 +0000)
committer
anton
<anton@openbsd.org>
Tue, 5 Mar 2024 07:01:40 +0000
(07:01 +0000)
starting a new one.
regress/libexec/ftpd/Makefile
patch
|
blob
|
history
diff --git
a/regress/libexec/ftpd/Makefile
b/regress/libexec/ftpd/Makefile
index
fe6bfdc
..
35ccfc7
100644
(file)
--- a/
regress/libexec/ftpd/Makefile
+++ b/
regress/libexec/ftpd/Makefile
@@
-1,4
+1,4
@@
-# $OpenBSD: Makefile,v 1.1
1 2021/05/09 14:26:45 ja
n Exp $
+# $OpenBSD: Makefile,v 1.1
2 2024/03/05 07:01:40 anto
n Exp $
.PHONY: setup-ftpd
@@
-41,6
+41,7
@@
regress:
setup-ftpd:
${SUDO} pkill tcpserver || true
${SUDO} pkill ftpd || true
+ nc 127.0.0.1 21 >/dev/null 2>&1 || true
# start ftpd
${SUDO} ${TCPSERVER} 127.0.0.1 21 ${KTRACE} ${FTPD} -A & \
timeout=$$(($$(date +%s) + 5)); \