[Midnightbsd-cvs] src [11252] trunk/bin/expr/tests/Makefile: add tests
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sun Jul 1 17:37:50 EDT 2018
Revision: 11252
http://svnweb.midnightbsd.org/src/?rev=11252
Author: laffer1
Date: 2018-07-01 17:37:49 -0400 (Sun, 01 Jul 2018)
Log Message:
-----------
add tests
Modified Paths:
--------------
trunk/bin/expr/Makefile
trunk/bin/expr/expr.1
Added Paths:
-----------
trunk/bin/expr/tests/
trunk/bin/expr/tests/Makefile
Property Changed:
----------------
trunk/bin/expr/expr.1
trunk/bin/expr/expr.y
Modified: trunk/bin/expr/Makefile
===================================================================
--- trunk/bin/expr/Makefile 2018-07-01 21:37:18 UTC (rev 11251)
+++ trunk/bin/expr/Makefile 2018-07-01 21:37:49 UTC (rev 11252)
@@ -12,4 +12,8 @@
NO_WMISSING_VARIABLE_DECLARATIONS=
+.if ${MK_TESTS} != "no"
+SUBDIR+= tests
+.endif
+
.include <bsd.prog.mk>
Modified: trunk/bin/expr/expr.1
===================================================================
--- trunk/bin/expr/expr.1 2018-07-01 21:37:18 UTC (rev 11251)
+++ trunk/bin/expr/expr.1 2018-07-01 21:37:49 UTC (rev 11252)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
.\" -*- nroff -*-
.\"-
.\" Copyright (c) 1993 Winning Strategies, Inc.
@@ -28,10 +29,9 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $MidnightBSD$
-.\" $FreeBSD: stable/10/bin/expr/expr.1 235400 2012-05-13 14:16:04Z joel $
+.\" $FreeBSD: stable/10/bin/expr/expr.1 307418 2016-10-16 23:12:07Z sevan $
.\"
-.Dd February 25, 2012
+.Dd October 5, 2016
.Dt EXPR 1
.Os
.Sh NAME
@@ -310,3 +310,19 @@
The
.Fl e
flag is an extension.
+.Sh HISTORY
+An
+.Nm
+utility first appeared in the Programmer's Workbench (PWB/UNIX).
+A public domain version of
+.Nm
+written by
+.An Pace Willisson Aq Mt pace at blitz.com
+appeared in
+.Bx 386 0.1 .
+.Sh AUTHORS
+Initial implementation by
+.An Pace Willisson Aq Mt pace at blitz.com
+was largely rewritten by
+.An -nosplit
+.An J.T. Conklin Aq Mt jtc at FreeBSD.org .
Property changes on: trunk/bin/expr/expr.1
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Index: trunk/bin/expr/expr.y
===================================================================
--- trunk/bin/expr/expr.y 2018-07-01 21:37:18 UTC (rev 11251)
+++ trunk/bin/expr/expr.y 2018-07-01 21:37:49 UTC (rev 11252)
Property changes on: trunk/bin/expr/expr.y
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: trunk/bin/expr/tests/Makefile
===================================================================
--- trunk/bin/expr/tests/Makefile (rev 0)
+++ trunk/bin/expr/tests/Makefile 2018-07-01 21:37:49 UTC (rev 11252)
@@ -0,0 +1,11 @@
+# $MidnightBSD$
+# $FreeBSD: stable/10/bin/expr/tests/Makefile 313488 2017-02-09 22:49:48Z ngie $
+
+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>
Property changes on: trunk/bin/expr/tests/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
More information about the Midnightbsd-cvs
mailing list