[tests] Fix format-binary-non-ascii.s to work with Python 3 on Windows
authorAaron Smith <aaron.smith@microsoft.com>
Sat, 7 Apr 2018 00:55:26 +0000 (00:55 +0000)
committerAaron Smith <aaron.smith@microsoft.com>
Sat, 7 Apr 2018 00:55:26 +0000 (00:55 +0000)
commitc3b5515e516c824ef4c66624a0c6f62550032aaf
treeef0ccf0ff001676e3c5550cd04c6db8b9cafe048
parent49025089343420efb20030377d44edf3b82fd100
[tests] Fix format-binary-non-ascii.s to work with Python 3 on Windows

Some platforms interpret the pound sign as one character. Platforms that use
Python 2.x actually interpret it as two characters because in the Python 2.x
version of lit, the string used for the file name is a byte string and the pound
sign is two bytes.

Patch by Stella Stamenova!

llvm-svn: 329472
lld/test/ELF/format-binary-non-ascii.s