Date: Fri, 23 Jan 2015 00:34:19 +0000 (UTC) From: Garrett Cooper <ngie@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r277549 - stable/10/contrib/netbsd-tests/bin/expr Message-ID: <201501230034.t0N0YJEa015020@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ngie Date: Fri Jan 23 00:34:19 2015 New Revision: 277549 URL: https://svnweb.freebsd.org/changeset/base/277549 Log: MFC r276671,r277357: r276671 (by ngie): Expect :arithmetic_ops_body to fail with syntax errors on FreeBSD Sponsored by: EMC / Isilon Storage Division r277357 (by ngie): Expect :overflow to fail with FreeBSD's expr as it doesn't have stringent overflow checks like NetBSD's expr does PR: 196867 Modified: stable/10/contrib/netbsd-tests/bin/expr/t_expr.sh Directory Properties: stable/10/ (props changed) Modified: stable/10/contrib/netbsd-tests/bin/expr/t_expr.sh ============================================================================== --- stable/10/contrib/netbsd-tests/bin/expr/t_expr.sh Fri Jan 23 00:27:37 2015 (r277548) +++ stable/10/contrib/netbsd-tests/bin/expr/t_expr.sh Fri Jan 23 00:34:19 2015 (r277549) @@ -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'
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201501230034.t0N0YJEa015020>