From: jan Date: Sun, 9 May 2021 14:26:45 +0000 (+0000) Subject: Add subtest for EPRT command in ftpd regression test X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=9a9f00b9e806c2bac04f4fe4dc114b83e17bb520;p=openbsd Add subtest for EPRT command in ftpd regression test --- diff --git a/regress/libexec/ftpd/Makefile b/regress/libexec/ftpd/Makefile index baf6ea4f7da..fe6bfdc625b 100644 --- a/regress/libexec/ftpd/Makefile +++ b/regress/libexec/ftpd/Makefile @@ -1,9 +1,11 @@ -# $OpenBSD: Makefile,v 1.10 2021/05/09 14:05:42 jan Exp $ +# $OpenBSD: Makefile,v 1.11 2021/05/09 14:26:45 jan Exp $ .PHONY: setup-ftpd REGRESS_TARGETS = run-ftpd-get +REGRESS_TARGETS += run-ftpd-get-active REGRESS_TARGETS += run-ftpd-put +REGRESS_TARGETS += run-ftpd-put-active REGRESS_TARGETS += run-ftpd-ls REGRESS_TARGETS += run-ftpd-nlist REGRESS_TARGETS += run-ftpd-delete @@ -54,11 +56,21 @@ run-ftpd-get: cmp ${FTPDIR}/ftpd.regress ftpd.regress rm ftpd.regress +run-ftpd-get-active: + ftp_proxy= ftp -a -A ftp://127.0.0.1/ftpd.regress + cmp ${FTPDIR}/ftpd.regress ftpd.regress + rm ftpd.regress + run-ftpd-put: 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-put-active: + echo put ftpd.regress.local | ftp -a -A 127.0.0.1 + cmp ${FTPDIR}/ftpd.regress.local ftpd.regress.local + ${SUDO} rm ${FTPDIR}/ftpd.regress.local + run-ftpd-ls: echo ls | ftp -a 127.0.0.1 | grep -q 'ftpd.regress'