diff options
Diffstat (limited to 'contrib/netbsd-tests')
-rwxr-xr-x | contrib/netbsd-tests/bin/expr/t_expr.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/netbsd-tests/bin/expr/t_expr.sh b/contrib/netbsd-tests/bin/expr/t_expr.sh index 4f9d596..ef99b02 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' \ @@ -105,6 +108,9 @@ arithmetic_ops_head() { atf_set "descr" "Dangling arithemtic operator" } arithmetic_ops_body() { + # Begin FreeBSD + atf_expect_fail "the following testcases fail with syntax errors on FreeBSD" + # End FreeBSD test_expr '.java_wrapper : /' '0' test_expr '4 : \*' '0' test_expr '4 : +' '0' |