aboutsummaryrefslogtreecommitdiff
path: root/bin/expr/tests
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2015-01-19 06:13:07 +0000
committerEnji Cooper <ngie@FreeBSD.org>2015-01-19 06:13:07 +0000
commite15138e5740afa089b01612329b30b82e236737a (patch)
tree15cd3d12f85d1cae8b78a700710514758c4d857c /bin/expr/tests
parent2e5b60079b7d8c3ca68f1390cd90f305e651f8d3 (diff)
downloadsrc-e15138e5740afa089b01612329b30b82e236737a.tar.gz
src-e15138e5740afa089b01612329b30b82e236737a.zip
Integrate contrib/netbsd-tests/bin/expr into the build/kyua as bin/expr/tests
MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
Notes
Notes: svn path=/head/; revision=277358
Diffstat (limited to 'bin/expr/tests')
-rw-r--r--bin/expr/tests/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/bin/expr/tests/Makefile b/bin/expr/tests/Makefile
new file mode 100644
index 000000000000..80c130c3df20
--- /dev/null
+++ b/bin/expr/tests/Makefile
@@ -0,0 +1,16 @@
+# $FreeBSD$
+
+OBJTOP= ${.OBJDIR}/../../..
+SRCTOP= ${.CURDIR}/../../..
+TESTSRC= ${SRCTOP}/contrib/netbsd-tests/bin/expr
+
+TESTSDIR= ${TESTSBASE}/bin/expr
+
+NETBSD_ATF_TESTS_SH= expr_test
+
+ATF_TESTS_SH_SED_expr_test+= -e 's/eval expr/eval expr --/g'
+ATF_TESTS_SH_SED_expr_test+= -e 's/"expr: integer overflow or underflow occurred for operation.*"/"expr: overflow"/g'
+
+.include <netbsd-tests.test.mk>
+
+.include <bsd.test.mk>