Re: [PATCH] tests: mktemp: add tests for invalid Unicode options
From:
Collin Funk
Subject:
Re: [PATCH] tests: mktemp: add tests for invalid Unicode options
Date:
Mon, 05 Jan 2026 17:56:43 -0800
User-agent:
Gnus/5.13 (Gnus v5.13)
Collin Funk <collin.funk1@gmail.com> writes:
> +: > "$(bad_unicode)" || skip_ 'bad unicode not supported in file names'
Oops, I forgot we can't do this. I applied the additional patch locally:
diff --git a/tests/mktemp/bad-unicode.sh b/tests/mktemp/bad-unicode.sh
index 2583a251a..ea67b5253 100755
--- a/tests/mktemp/bad-unicode.sh
+++ b/tests/mktemp/bad-unicode.sh
@@ -19,7 +19,7 @@
. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
print_ver_ mktemp
-: > "$(bad_unicode)" || skip_ 'bad unicode not supported in file names'
+echo a > "$(bad_unicode)" || skip_ 'bad unicode not supported in file names'
for loc in C "$LOCALE_FR" "$LOCALE_FR_UTF8"; do
test -z "$loc" && continue
Collin