Module Name: src Committed By: kre Date: Tue Feb 16 09:46:24 UTC 2021
Modified Files: src/distrib/sets/lists/tests: mi src/tests/bin/sh: Makefile Added Files: src/tests/bin/sh: t_input.sh Log Message: 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). To generate a diff of this commit: cvs rdiff -u -r1.1018 -r1.1019 src/distrib/sets/lists/tests/mi cvs rdiff -u -r1.14 -r1.15 src/tests/bin/sh/Makefile cvs rdiff -u -r0 -r1.1 src/tests/bin/sh/t_input.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.