Module Name: src Committed By: kre Date: Mon Oct 14 12:26:29 UTC 2024
Modified Files: src/tests/bin/sh: t_input.sh Log Message: 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... To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 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.
Modified files: Index: src/tests/bin/sh/t_input.sh diff -u src/tests/bin/sh/t_input.sh:1.1 src/tests/bin/sh/t_input.sh:1.2 --- src/tests/bin/sh/t_input.sh:1.1 Tue Feb 16 09:46:24 2021 +++ src/tests/bin/sh/t_input.sh Mon Oct 14 12:26:28 2024 @@ -1,4 +1,4 @@ -# $NetBSD: t_input.sh,v 1.1 2021/02/16 09:46:24 kre Exp $ +# $NetBSD: t_input.sh,v 1.2 2024/10/14 12:26:28 kre Exp $ # # Copyright (c) 2021 The NetBSD Foundation, Inc. # All rights reserved. @@ -48,6 +48,8 @@ nul_elimination_body() { atf_require_prog cat atf_require_prog rm + atf_expect_fail "nuls are now errors, not ignored, revisit later" + # please do not make even trivial changes (like correcting spelling) # to the following script without taking care to fix the following # tests, even minor changes can defeat the purpose of the test