JustOS/busybox-1_37_0/shell/hush_test/hush-arith/arith-ternary1.tests

6 lines
98 B
Plaintext
Executable File

exec 2>&1
a=0
# The not-taken branch should not evaluate
echo 42:$((1 ? 42 : (a+=2)))
echo "a=$a"