summaryrefslogtreecommitdiff
path: root/regress/libexec
diff options
context:
space:
mode:
Diffstat (limited to 'regress/libexec')
-rw-r--r--regress/libexec/ftpd/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/regress/libexec/ftpd/Makefile b/regress/libexec/ftpd/Makefile
index 914d6135973..cced3c8dcfa 100644
--- a/regress/libexec/ftpd/Makefile
+++ b/regress/libexec/ftpd/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.4 2020/01/16 21:00:11 jan Exp $
+# $OpenBSD: Makefile,v 1.5 2020/01/16 22:24:32 jan Exp $
.PHONY: setup-ftpd
@@ -6,6 +6,7 @@ REGRESS_TARGETS = run-ftpd-get
REGRESS_TARGETS += run-ftpd-put
REGRESS_TARGETS += run-ftpd-ls
REGRESS_TARGETS += run-ftpd-delete
+REGRESS_TARGETS += run-ftpd-mkdir
REGRESS_ROOT_TARGETS = ${REGRESS_TARGETS}
REGRESS_CLEANUP = cleanup-ftpd
REGRESS_SETUP = setup-ftpd
@@ -67,6 +68,12 @@ run-ftpd-delete:
echo delete ftpd.regress | ftp -a 127.0.0.1
test ! -f ${FTPDIR}/ftpd.regress
+run-ftpd-mkdir:
+ @echo '\n======== $@ ========'
+ echo mkdir ftpd.regress.dir.create | ftp -a 127.0.0.1
+ test -d ${FTPDIR}/ftpd.regress.dir.create
+ ${SUDO} rm -r ${FTPDIR}/ftpd.regress.dir.create
+
cleanup-ftpd:
${SUDO} pkill tcpserver || true
${SUDO} pkill ftpd || true