Lines Matching refs:arithmetic
287 then err_exit 'name references in arithmetic statements in functions broken'
353 (( x == 8 )) || err_exit 'leading zeros not treated as octal arithmetic'
354 (( $x == 8 )) || err_exit 'leading zeros not treated as octal arithmetic with $x'
357 (( x == 10 )) || err_exit 'leading zeros not ignored for arithmetic'
358 (( $x == 10 )) || err_exit 'leading zeros not ignored for arithmetic with $x'
360 (( i == 10 )) || err_exit 'leading zeros not ignored for arithmetic assignment'
420 [[ $($tmp/script 1) != '( bar=2 baz=3 foo=1 )' ]] 2>/dev/null && err_exit 'compound var arithmetic …
421 [[ $($tmp/script 2) != '( faz=0 )' ]] 2>/dev/null && err_exit 'compound var arithmetic failed'
422 [[ $($tmp/script 3) != '( foz=777 )' ]] 2>/dev/null && err_exit 'compound var arithmetic failed'
423 [[ $($tmp/script 4) != '( foz=777 )' ]] 2>/dev/null && err_exit 'compound var arithmetic failed'
424 [[ $($tmp/script 5) != '( fuz=777 )' ]] 2>/dev/null && err_exit 'compound var arithmetic failed'
425 [[ $($tmp/script 6) != '0' ]] 2>/dev/null && err_exit 'compound var arithmetic failed'
426 [[ $($tmp/script 7) != '0' ]] 2>/dev/null && err_exit 'compound var arithmetic failed'