Home | History | Annotate | Download | only in sh
History log of /src/tests/bin/sh/t_input.sh
RevisionDateAuthorComments
 1.2  14-Oct-2024  kre This test just tested that nul chars in shell input were silently
ignored. Since we no longer do that, the test is kind of pointless.
But rather than delete it, just mark it as "expected fail" for now,
until it is clear that the changed nul behaviour is to remain.
Then the test can be changed to validate that nul chars cause errors...
 1.1  16-Feb-2021  kre branches: 1.1.8;
PR bin/55979

Add a sh ATF test to demonstrate a bug in the way that \0 characters
are dropped from scripts. This test will eventually be extended to
test other potential sh script input related issues.

When initially committed, this test should fail. It should succeed
when the fix for the PR is committed (soon).

Nb: this tests only the \0 related issues from the PR, the MSAN
detected uninitialised variable (struct field) can only be detected
by MSAN, as it has no visible impact on the operation of the shell
when running on any real (or even emulated) hardware.
(It will, however, also be fixed).
 1.1.8.1  02-Aug-2025  perseant Sync with HEAD

RSS XML Feed