summaryrefslogtreecommitdiffstats
path: root/regress/libexec
diff options
context:
space:
mode:
authorjan <jan@openbsd.org>2020-01-16 22:24:32 +0000
committerjan <jan@openbsd.org>2020-01-16 22:24:32 +0000
commit017f2cba57471413d931a13bf0c8e2a5632147e5 (patch)
tree463828e1e41986060f59d31a83120d7cbbd5669e /regress/libexec
parentwhen parsing ASN, don't \0-split the original string, as it may be needed (diff)
downloadwireguard-openbsd-017f2cba57471413d931a13bf0c8e2a5632147e5.tar.xz
wireguard-openbsd-017f2cba57471413d931a13bf0c8e2a5632147e5.zip
Add ftpd(8) sub test for mkdir.
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