mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-14 10:09:48 +00:00
Revert r277357 as expr has been enhanced to better detect overflow conditions,
and now the tests pass PR: 196867 X-MFC with: r277798 MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
f40cb1c645
commit
0d972b25f6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=277829
@ -54,9 +54,6 @@ overflow_head() {
|
|||||||
atf_set "descr" "Test overflow cases"
|
atf_set "descr" "Test overflow cases"
|
||||||
}
|
}
|
||||||
overflow_body() {
|
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' \
|
test_expr '4611686018427387904 + 4611686018427387903' \
|
||||||
'9223372036854775807'
|
'9223372036854775807'
|
||||||
test_expr '4611686018427387904 + 4611686018427387904' \
|
test_expr '4611686018427387904 + 4611686018427387904' \
|
||||||
|
Loading…
Reference in New Issue
Block a user