Changeset View
Changeset View
Standalone View
Standalone View
contrib/netbsd-tests/bin/expr/t_expr.sh
Show First 20 Lines • Show All 99 Lines • ▼ Show 20 Lines | colon_vs_math_body() { | ||||
test_expr '4 : 4 % 3' '1' | test_expr '4 : 4 % 3' '1' | ||||
} | } | ||||
atf_test_case arithmetic_ops | atf_test_case arithmetic_ops | ||||
arithmetic_ops_head() { | arithmetic_ops_head() { | ||||
atf_set "descr" "Dangling arithemtic operator" | atf_set "descr" "Dangling arithemtic operator" | ||||
} | } | ||||
arithmetic_ops_body() { | 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 '.java_wrapper : /' '0' | ||||
test_expr '4 : \*' '0' | test_expr '4 : \*' '0' | ||||
test_expr '4 : +' '0' | test_expr '4 : +' '0' | ||||
test_expr '4 : -' '0' | test_expr '4 : -' '0' | ||||
test_expr '4 : /' '0' | test_expr '4 : /' '0' | ||||
test_expr '4 : %' '0' | test_expr '4 : %' '0' | ||||
} | } | ||||
▲ Show 20 Lines • Show All 113 Lines • Show Last 20 Lines |