diff options
author | jan <jan@cvs.openbsd.org> | 2020-01-20 00:49:56 +0000 |
---|---|---|
committer | jan <jan@cvs.openbsd.org> | 2020-01-20 00:49:56 +0000 |
commit | efbc4a4e22148d4f33c5d2befe7954a2cddaf6d0 (patch) | |
tree | 47709af8e683502bf51eb2055c0bdacb8a581a34 /regress | |
parent | 7997361259081965c66d5b0cdb671de767c71384 (diff) |
Add a sub regression test for the nlst command in ftpd(8).
Diffstat (limited to 'regress')
-rw-r--r-- | regress/libexec/ftpd/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/regress/libexec/ftpd/Makefile b/regress/libexec/ftpd/Makefile index cced3c8dcfa..4490ade4ba9 100644 --- a/regress/libexec/ftpd/Makefile +++ b/regress/libexec/ftpd/Makefile @@ -1,10 +1,11 @@ -# $OpenBSD: Makefile,v 1.5 2020/01/16 22:24:32 jan Exp $ +# $OpenBSD: Makefile,v 1.6 2020/01/20 00:49:55 jan Exp $ .PHONY: setup-ftpd REGRESS_TARGETS = run-ftpd-get REGRESS_TARGETS += run-ftpd-put REGRESS_TARGETS += run-ftpd-ls +REGRESS_TARGETS += run-ftpd-nlist REGRESS_TARGETS += run-ftpd-delete REGRESS_TARGETS += run-ftpd-mkdir REGRESS_ROOT_TARGETS = ${REGRESS_TARGETS} @@ -63,6 +64,10 @@ 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 |