summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKerin Millar <kfm@plushkava.net>2024-08-10 06:42:01 +0100
committerSam James <sam@gentoo.org>2024-08-11 11:11:03 +0100
commit739c62e4d8be2425c676026843a0a4c07f2f2dd1 (patch)
treebdcc21b777eb0f37ce417f1f35f010c7f5840b03
parentUse the -nt and -ot test primaries again rather than depend on GNU find (diff)
downloadgentoo-functions-739c62e4d8be2425c676026843a0a4c07f2f2dd1.tar.gz
gentoo-functions-739c62e4d8be2425c676026843a0a4c07f2f2dd1.tar.bz2
gentoo-functions-739c62e4d8be2425c676026843a0a4c07f2f2dd1.zip
test-functions: comment as to why test_quote_args() fails for yash
Signed-off-by: Kerin Millar <kfm@plushkava.net> Signed-off-by: Sam James <sam@gentoo.org>
-rwxr-xr-xtest-functions6
1 files changed, 6 insertions, 0 deletions
diff --git a/test-functions b/test-functions
index 0ab203b..28c72da 100755
--- a/test-functions
+++ b/test-functions
@@ -957,6 +957,12 @@ test_quote_args() {
test_description="quote_args output test (expecting cksum 380900690)"
i=0
+ # The generator fails to produce the correct ouput in yash
+ # unless the effective character type is C/POSIX. However, once
+ # launched, yash ignores assignments to the LC_CTYPE variable
+ # if in its posix mode. As things stand, there is little point
+ # in fixing it because yash also disables the local builtin in
+ # its posix mode, causing test-functions to bail out sooner.
while [ "$((i += 1))" -le 255 ]; do
fmt=$(printf '\\%o' "$i")
# shellcheck disable=2059