From 2e5b60079b7d8c3ca68f1390cd90f305e651f8d3 Mon Sep 17 00:00:00 2001 From: Enji Cooper Date: Mon, 19 Jan 2015 06:10:01 +0000 Subject: [PATCH] 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 --- contrib/netbsd-tests/bin/expr/t_expr.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/contrib/netbsd-tests/bin/expr/t_expr.sh b/contrib/netbsd-tests/bin/expr/t_expr.sh index 97a559b1d978..ef99b021cd31 100755 --- a/contrib/netbsd-tests/bin/expr/t_expr.sh +++ b/contrib/netbsd-tests/bin/expr/t_expr.sh @@ -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' \