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'
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to