From 8bb3e1a8c5fb3d672eabb6f0781eba8e89e1dbd8 Mon Sep 17 00:00:00 2001 From: neil Date: Thu, 19 Sep 2024 18:10:48 +0200 Subject: [PATCH] fix https://github.com/acmesh-official/acme.sh/pull/5294#issuecomment-2360593332 --- letest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/letest.sh b/letest.sh index 6dafd4499..e75f49c30 100755 --- a/letest.sh +++ b/letest.sh @@ -1501,7 +1501,7 @@ le_test_dnsapi() { _initpath $TestingDomain addcommand="${api}_add" rmcommand="${api}_rm" - random_string="$(head /dev/urandom | tr -dc A-Za-z0-9 | head -c10)" + random_string="$(head /dev/urandom | LC_CTYPE=C tr -dc A-Za-z0-9 | head -c10)" record_content="acmeTestTxtRecord_$random_string" _assertcmd "$addcommand acmetestXyzRandomName.$TestingDomain $record_content" || return _assertcmd "$rmcommand acmetestXyzRandomName.$TestingDomain $record_content" || return