Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix most Unicode encoding bugs #24010

Closed
wants to merge 19 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Set up locale for watchfs_test
  • Loading branch information
fmeum committed Oct 31, 2024
commit 013e86080a8e68719d8ec12ac108fb65bd5e7aea
17 changes: 17 additions & 0 deletions src/test/shell/integration/watchfs_test.sh
Original file line number Diff line number Diff line change
@@ -41,6 +41,23 @@ source "$(rlocation "io_bazel/src/test/shell/integration_test_setup.sh")" \

cd "$TEST_TMPDIR"

case "$(uname -s | tr [:upper:] [:lower:])" in
msys*|mingw*|cygwin*)
declare -r is_windows=true
;;
*)
declare -r is_windows=false
;;
esac

if $is_windows; then
export LC_ALL=C.utf8
elif [[ "$(uname -s)" == "Linux" ]]; then
export LC_ALL=C.UTF-8
else
export LC_ALL=en_US.UTF-8
fi

function set_up() {
cd ${WORKSPACE_DIR}
}