svn commit: r277357 - head/contrib/netbsd-tests/bin/expr
Garrett Cooper
ngie at FreeBSD.org
Mon Jan 19 06:10:02 UTC 2015
Author: ngie
Date: Mon Jan 19 06:10:01 2015
New Revision: 277357
URL: https://svnweb.freebsd.org/changeset/base/277357
Log:
Expect :overflow to fail with FreeBSD's expr as it doesn't have stringent
overflow checks like NetBSD's expr does
MFC after: 3 days
PR: 196867
Modified:
head/contrib/netbsd-tests/bin/expr/t_expr.sh
Modified: head/contrib/netbsd-tests/bin/expr/t_expr.sh
==============================================================================
--- head/contrib/netbsd-tests/bin/expr/t_expr.sh Mon Jan 19 05:14:07 2015 (r277356)
+++ head/contrib/netbsd-tests/bin/expr/t_expr.sh Mon Jan 19 06:10:01 2015 (r277357)
@@ -54,6 +54,9 @@ overflow_head() {
atf_set "descr" "Test overflow cases"
}
overflow_body() {
+ # Begin FreeBSD
+ atf_expect_fail "FreeBSD's expr does not check overflow to the same degree NetBSD's expr does; see bug 196867 for more details"
+ # End FreeBSD
test_expr '4611686018427387904 + 4611686018427387903' \
'9223372036854775807'
test_expr '4611686018427387904 + 4611686018427387904' \
More information about the svn-src-all
mailing list