1 # $FreeBSD: head/bin/sh/tests/expansion/arith1.0 201259 2009-12-30 15:59:40Z jilles $
6 if [ $(($1)) != $2 ]; then
7 failures=$((failures+1))
8 echo "For $1, expected $2 actual $(($1))"
18 check "1<<40&&1<<40" 1
27 check "1<<40||1<<40" 1
30 exit $((failures != 0))