busybox/shell/ash_test/ash-misc/elif1.tests
Denys Vlasenko 6824298ab4 hush: fix ELIF cmd1;cmd2 THEN ... not executing cmd2, closes 15571
function                                             old     new   delta
run_list                                            1012    1024     +12

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2023-05-25 14:22:10 +02:00

6 lines
96 B
Text
Executable file

if false; then
:
elif echo 'ELIF1'; echo 'ELIF2'; then
echo "ELIF THEN"
fi
echo "Ok:$?"