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
This commit is contained in:
ngie 2015-01-19 06:10:01 +00:00
parent 989d372488
commit 4b4c58b79e

View File

@ -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' \