forked from OSchip/llvm-project
[AsmParser] Fix preserve-comments-crlf.s on FreeBSD
--strip-trailing-cr is a diffutils option which is also available on BSD-licensed diff introduced in FreeBSD 11.2, however, it has a bug comparing files mixing \r and \r\n. Use -b (POSIX) instead. llvm-svn: 338008
This commit is contained in:
parent
4e687d5bb2
commit
c32561ea8b
|
@ -1,6 +1,6 @@
|
|||
#REQUIRES: shell
|
||||
#RUN: llvm-mc -preserve-comments -n -triple i386-linux-gnu < %s > %t
|
||||
#RUN: diff --strip-trailing-cr %s %t
|
||||
#RUN: diff -b %s %t
|
||||
.text
|
||||
|
||||
foo: #Comment here
|
||||
|
|
Loading…
Reference in New Issue