busybox/shell/ash_test/ash-arith/arith-ternary_nested3.tests
Denys Vlasenko b61fd8ec5a shell: typo fix in tests
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2023-06-18 18:49:00 +02:00

6 lines
150 B
Text
Executable file

exec 2>&1
x='@'
a=2
# After processing nested ?:, outermost ?: should still remember to NOT evaluate a*=2
echo 42:$((1?0?41:42:(a*=2)))
echo "a=2:$a"