mirror of
https://git.busybox.net/busybox
synced 2025-05-10 04:33:59 +02:00
Fixes arith-ternary1.tests and arith-ternary_nested.tests function old new delta evaluate_string 1043 1101 +58 arith_apply 1087 1137 +50 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/0 up/down: 108/0) Total: 108 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
5 lines
98 B
Text
Executable file
5 lines
98 B
Text
Executable file
exec 2>&1
|
|
a=0
|
|
# The not-taken branch should not evaluate
|
|
echo 42:$((1 ? 42 : (a+=2)))
|
|
echo "a=$a"
|