Skip to content

Commit

Permalink
Merge pull request #6183 from MetRonnie/comm-utf8
Browse files Browse the repository at this point in the history
Tests: fix `contains_ok` UTF-8 issue
  • Loading branch information
oliver-sanders committed Jul 1, 2024
2 parents bc3d88c + 2b6a705 commit dbfdce9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/functional/lib/bash/test_header
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ contains_ok() {
local FILE_CONTROL="${2:--}"
local TEST_NAME
TEST_NAME="$(basename "${FILE_TEST}")-contains-ok"
comm -13 <(sort "${FILE_TEST}") <(sort "${FILE_CONTROL}") \
LANG=C comm -13 <(sort "${FILE_TEST}") <(sort "${FILE_CONTROL}") \
1>"${TEST_NAME}.stdout" 2>"${TEST_NAME}.stderr"
if [[ -s "${TEST_NAME}.stdout" ]]; then
mkdir -p "${TEST_LOG_DIR}"
Expand Down

0 comments on commit dbfdce9

Please sign in to comment.