diff options
author | 2020-01-16 21:00:11 +0000 | |
---|---|---|
committer | 2020-01-16 21:00:11 +0000 | |
commit | 008df1a30c1f0cdb2f8cfe186f17d81dca4f384d (patch) | |
tree | 263d4659f3adc56be84e73152544efafa710e63c | |
parent | Add test for custom udp encapsulation port with set with '-p'. (diff) | |
download | wireguard-openbsd-008df1a30c1f0cdb2f8cfe186f17d81dca4f384d.tar.xz wireguard-openbsd-008df1a30c1f0cdb2f8cfe186f17d81dca4f384d.zip |
Add sub test for ftpd(8) that test delete of files.
-rw-r--r-- | regress/libexec/ftpd/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/regress/libexec/ftpd/Makefile b/regress/libexec/ftpd/Makefile index c0a1562823b..914d6135973 100644 --- a/regress/libexec/ftpd/Makefile +++ b/regress/libexec/ftpd/Makefile @@ -1,10 +1,11 @@ -# $OpenBSD: Makefile,v 1.3 2020/01/16 19:01:50 jan Exp $ +# $OpenBSD: Makefile,v 1.4 2020/01/16 21:00:11 jan Exp $ .PHONY: setup-ftpd REGRESS_TARGETS = run-ftpd-get REGRESS_TARGETS += run-ftpd-put REGRESS_TARGETS += run-ftpd-ls +REGRESS_TARGETS += run-ftpd-delete REGRESS_ROOT_TARGETS = ${REGRESS_TARGETS} REGRESS_CLEANUP = cleanup-ftpd REGRESS_SETUP = setup-ftpd @@ -61,6 +62,11 @@ run-ftpd-ls: @echo '\n======== $@ ========' echo ls | 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 + cleanup-ftpd: ${SUDO} pkill tcpserver || true ${SUDO} pkill ftpd || true |