[llvm-commits] [llvm] r120698 - /llvm/trunk/test/Archive/extract.ll

NAKAMURA Takumi geek4civic at gmail.com
Thu Dec 2 01:16:14 PST 2010


Author: chapuni
Date: Thu Dec  2 03:16:14 2010
New Revision: 120698

URL: http://llvm.org/viewvc/llvm-project?rev=120698&view=rev
Log:
test/Archive/extract.ll: Use cmp instead of diff. Thanks to Danil Malyshev!

Modified:
    llvm/trunk/test/Archive/extract.ll

Modified: llvm/trunk/test/Archive/extract.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Archive/extract.ll?rev=120698&r1=120697&r2=120698&view=diff
==============================================================================
--- llvm/trunk/test/Archive/extract.ll (original)
+++ llvm/trunk/test/Archive/extract.ll Thu Dec  2 03:16:14 2010
@@ -4,13 +4,13 @@
 ; from various style archives.
 
 ; RUN: llvm-ar x %p/GNU.a very_long_bytecode_file_name.bc
-; RUN: diff %p/very_long_bytecode_file_name.bc very_long_bytecode_file_name.bc >/dev/null 2>/dev/null
+; RUN: cmp -s %p/very_long_bytecode_file_name.bc very_long_bytecode_file_name.bc
 
 ; RUN: llvm-ar x %p/MacOSX.a very_long_bytecode_file_name.bc
-; RUN: diff %p/very_long_bytecode_file_name.bc very_long_bytecode_file_name.bc > /dev/null 2>/dev/null
+; RUN: cmp -s %p/very_long_bytecode_file_name.bc very_long_bytecode_file_name.bc
 
 ; RUN: llvm-ar x %p/SVR4.a very_long_bytecode_file_name.bc
-; RUN: diff %p/very_long_bytecode_file_name.bc very_long_bytecode_file_name.bc >/dev/null 2>/dev/null
+; RUN: cmp -s %p/very_long_bytecode_file_name.bc very_long_bytecode_file_name.bc
 
 ; RUN: llvm-ar x %p/xpg4.a very_long_bytecode_file_name.bc
-; RUN: diff %p/very_long_bytecode_file_name.bc very_long_bytecode_file_name.bc >/dev/null 2>/dev/null
+; RUN: cmp -s %p/very_long_bytecode_file_name.bc very_long_bytecode_file_name.bc





More information about the llvm-commits mailing list