Accommodate the braindead Solaris "diff" that doesn't understand the -q
option.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18268 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Archive/extract_GNU.ll b/test/Archive/extract_GNU.ll
index 486dd86..f19840a 100644
--- a/test/Archive/extract_GNU.ll
+++ b/test/Archive/extract_GNU.ll
@@ -2,4 +2,4 @@
;This test just makes sure that llvm-ar can extract bytecode members
;from GNU style archives
;RUN: llvm-ar x %p/GNU.a very_long_bytecode_file_name.bc
-;RUN: diff -q %p/very_long_bytecode_file_name.bc 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
diff --git a/test/Archive/extract_MacOSX.ll b/test/Archive/extract_MacOSX.ll
index e835f40..c811a59 100644
--- a/test/Archive/extract_MacOSX.ll
+++ b/test/Archive/extract_MacOSX.ll
@@ -3,4 +3,4 @@
;from MacOSX style archives
;RUN: llvm-ar x %p/MacOSX.a very_long_bytecode_file_name.bc
-;RUN: diff -q %p/very_long_bytecode_file_name.bc 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
diff --git a/test/Archive/extract_SVR4.ll b/test/Archive/extract_SVR4.ll
index 9fa8ced..446d52c 100644
--- a/test/Archive/extract_SVR4.ll
+++ b/test/Archive/extract_SVR4.ll
@@ -3,4 +3,4 @@
;from SVR4 style archives
;RUN: llvm-ar x %p/SVR4.a very_long_bytecode_file_name.bc
-;RUN: diff -q %p/very_long_bytecode_file_name.bc 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
diff --git a/test/Archive/extract_xpg4.ll b/test/Archive/extract_xpg4.ll
index 72a5b90..c816d91 100644
--- a/test/Archive/extract_xpg4.ll
+++ b/test/Archive/extract_xpg4.ll
@@ -3,4 +3,4 @@
;from xpg4 style archives
;RUN: llvm-ar x %p/xpg4.a very_long_bytecode_file_name.bc
-;RUN: diff -q %p/very_long_bytecode_file_name.bc 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