1# Test non-ascii archive members 2 3RUN: rm -rf %t && mkdir -p %t/extracted 4 5# Note: lit's Python will read this UTF-8 encoded mri-nonascii.txt file, 6# decode it to unicode. The filename in the redirection below will then 7# be encoded in the system's filename encoding (e.g. UTF-16 for 8# Microsoft Windows). 9RUN: echo "contents" > %t/£.txt 10 11RUN: echo "CREATE %t/mri.ar" > %t/script.mri 12RUN: echo "ADDMOD %t/£.txt" >> %t/script.mri 13RUN: echo "SAVE" >> %t/script.mri 14 15RUN: llvm-ar -M < %t/script.mri 16RUN: cd %t/extracted && llvm-ar x %t/mri.ar 17 18# Same as above. 19RUN: FileCheck --strict-whitespace %s <£.txt 20CHECK:{{^}} 21CHECK-SAME:{{^}}contents{{$}} 22