summaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-arith/arith-ternary2.tests
blob: cb316393228527f61bd9820cac67c332b0f94a3d (plain)
1
2
3
4
5
6
7
exec 2>&1
a='b=+err+'
b=5
# The not-taken branch should not parse variables
echo 6:$((0 ? a : ++b))
echo "a=$a"
echo "b=$b"