summaryrefslogtreecommitdiffstats
path: root/bin/sh/tests/parser
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2014-08-13 04:14:50 +0000
committerngie <ngie@FreeBSD.org>2014-08-13 04:14:50 +0000
commit45e6755fc1be9301069f1ec49907dde6c4c3a20f (patch)
tree963ce8dbda25f95e0d130c179e31cb4568d14aed /bin/sh/tests/parser
parent2db0fe8cf836ce66973bddba1140f9812a903a84 (diff)
downloadFreeBSD-src-45e6755fc1be9301069f1ec49907dde6c4c3a20f.zip
FreeBSD-src-45e6755fc1be9301069f1ec49907dde6c4c3a20f.tar.gz
Convert bin/sh/tests to ATF
The new code uses a "test discovery mechanism" to determine what tests are available for execution The test shell can be specified via: kyua test -v test_suites.FreeBSD.bin.sh.test_shell=/path/to/test/sh Sponsored by: EMC / Isilon Storage Division Approved by: jmmv (mentor) Reviewed by: jilles (maintainer)
Diffstat (limited to 'bin/sh/tests/parser')
-rw-r--r--bin/sh/tests/parser/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/bin/sh/tests/parser/Makefile b/bin/sh/tests/parser/Makefile
index 03650b1..4b2e76d 100644
--- a/bin/sh/tests/parser/Makefile
+++ b/bin/sh/tests/parser/Makefile
@@ -1,9 +1,11 @@
# $FreeBSD$
-.include <bsd.own.mk>
+TESTSDIR= ${TESTSBASE}/bin/sh/${.CURDIR:T}
-FILESDIR= ${TESTSBASE}/bin/sh/parser
-KYUAFILE= no
+.PATH: ${.CURDIR:H}
+ATF_TESTS_SH= functional_test
+
+FILESDIR= ${TESTSDIR}
FILES= alias1.0
FILES+= alias2.0
OpenPOWER on IntegriCloud