summaryrefslogtreecommitdiff
path: root/regress/libexec/ftpd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'regress/libexec/ftpd/Makefile')
-rw-r--r--regress/libexec/ftpd/Makefile9
1 files changed, 1 insertions, 8 deletions
diff --git a/regress/libexec/ftpd/Makefile b/regress/libexec/ftpd/Makefile
index 4490ade4ba9..6f2a4da541d 100644
--- a/regress/libexec/ftpd/Makefile
+++ b/regress/libexec/ftpd/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.6 2020/01/20 00:49:55 jan Exp $
+# $OpenBSD: Makefile,v 1.7 2020/12/17 00:51:12 bluhm Exp $
.PHONY: setup-ftpd
@@ -35,7 +35,6 @@ regress:
.endif
setup-ftpd:
- @echo '\n======== $@ ========'
${SUDO} pkill tcpserver || true
${SUDO} pkill ftpd || true
# start ftpd
@@ -49,32 +48,26 @@ setup-ftpd:
dd if=/dev/random of="ftpd.regress.local" count=1 bs=1m
run-ftpd-get:
- @echo '\n======== $@ ========'
ftp -a ftp://127.0.0.1/ftpd.regress
cmp ${FTPDIR}/ftpd.regress ftpd.regress
rm ftpd.regress
run-ftpd-put:
- @echo '\n======== $@ ========'
echo put ftpd.regress.local | ftp -a 127.0.0.1
cmp ${FTPDIR}/ftpd.regress.local ftpd.regress.local
${SUDO} rm ${FTPDIR}/ftpd.regress.local
run-ftpd-ls:
- @echo '\n======== $@ ========'
echo ls | ftp -a 127.0.0.1 | grep -q 'ftpd.regress'
run-ftpd-nlist:
- @echo '\n======== $@ ========'
echo nlist | ftp -a 127.0.0.1 | grep -q 'ftpd.regress'
run-ftpd-delete:
- @echo '\n======== $@ ========'
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