diff options
author | Serge Guelton <sguelton@redhat.com> | 2019-02-28 19:16:17 +0000 |
---|---|---|
committer | Serge Guelton <sguelton@redhat.com> | 2019-02-28 19:16:17 +0000 |
commit | 54be909aa08de1f9622b5f3d199f5d3b65bb29a4 (patch) | |
tree | ed5b932ade6eaf65cf039cb6f431414486bc473f /llvm/utils/lit/tests/Inputs | |
parent | 34f2bee0fb04e9725eadd95f7abedf72f19bcabd (diff) | |
download | bcm5719-llvm-54be909aa08de1f9622b5f3d199f5d3b65bb29a4.tar.gz bcm5719-llvm-54be909aa08de1f9622b5f3d199f5d3b65bb29a4.zip |
Add Support for Creating and Deleting Unicode Files and Directories in Lit
This enables lit to work with unicode file names via mkdir, rm, and redirection.
Lit still uses utf-8 internally, but converts to utf-16 on Windows, or just utf-8
bytes on everything else.
Committed on behalf of Jason Mittertreiner
Differential Revision: https://reviews.llvm.org/D56754
llvm-svn: 355122
Diffstat (limited to 'llvm/utils/lit/tests/Inputs')
-rw-r--r-- | llvm/utils/lit/tests/Inputs/shtest-shell/rm-unicode-0.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/utils/lit/tests/Inputs/shtest-shell/rm-unicode-0.txt b/llvm/utils/lit/tests/Inputs/shtest-shell/rm-unicode-0.txt new file mode 100644 index 00000000000..e34c96cd199 --- /dev/null +++ b/llvm/utils/lit/tests/Inputs/shtest-shell/rm-unicode-0.txt @@ -0,0 +1,7 @@ +# Check removing unicode +# +# RUN: mkdir -p Output/中文 +# RUN: echo "" > Output/中文/你好.txt +# RUN: rm Output/中文/你好.txt +# RUN: echo "" > Output/中文/你好.txt +# RUN: rm -r Output/中文 |