busybox/shell/hush_test/hush-redir/redir_and_constructs1.tests
Denys Vlasenko 5ecbed0e26 hush: do not segfault on "for </dev/null v in..."
This is not accepted by bash, we may also disallow this,
but for now, at least do not crash

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2025-08-12 17:56:58 +02:00

2 lines
83 B
Text
Executable file

# Reserved words are not recognized after redirects
</dev/null ! true; echo 127:$?