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:
Enji Cooper 2015-01-19 06:10:01 +00:00
parent c5e8bb4f2e
commit 2e5b60079b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=277357

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