summaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-arith/arith-ternary3.tests
blob: 0bf9f3002b990048da1163dd3e3faeff031d26ee (plain)
1
2
3
4
exec 2>&1
# "EXPR ?..." should check _evaluated_ EXPR,
# not its last value
echo 42:$((1 < 1 ? -1 : 1 > 1 ? 1 : 42))