llvm.org GIT mirror llvm / 4ca11de
Avoid writing to an arbitrary filename during the test run by writing to a file descriptor. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134355 91177308-0d34-0410-b5e6-96231b3b80d8 Chandler Carruth 9 years ago
1 changed file(s) with 8 addition(s) and 8 deletion(s). Raw diff Collapse all Expand all
22 ; This test just makes sure that llvm-ar can extract bytecode members
33 ; from various style archives.
44
5 ; RUN: llvm-ar x %p/GNU.a very_long_bytecode_file_name.bc
6 ; RUN: cmp -s %p/very_long_bytecode_file_name.bc very_long_bytecode_file_name.bc
5 ; RUN: llvm-ar p %p/GNU.a very_long_bytecode_file_name.bc | \
6 ; RUN: cmp -s %p/very_long_bytecode_file_name.bc -
77
8 ; RUN: llvm-ar x %p/MacOSX.a very_long_bytecode_file_name.bc
9 ; RUN: cmp -s %p/very_long_bytecode_file_name.bc very_long_bytecode_file_name.bc
8 ; RUN: llvm-ar p %p/MacOSX.a very_long_bytecode_file_name.bc | \
9 ; RUN: cmp -s %p/very_long_bytecode_file_name.bc -
1010
11 ; RUN: llvm-ar x %p/SVR4.a very_long_bytecode_file_name.bc
12 ; RUN: cmp -s %p/very_long_bytecode_file_name.bc very_long_bytecode_file_name.bc
11 ; RUN: llvm-ar p %p/SVR4.a very_long_bytecode_file_name.bc | \
12 ; RUN: cmp -s %p/very_long_bytecode_file_name.bc -
1313
14 ; RUN: llvm-ar x %p/xpg4.a very_long_bytecode_file_name.bc
15 ; RUN: cmp -s %p/very_long_bytecode_file_name.bc very_long_bytecode_file_name.bc
14 ; RUN: llvm-ar p %p/xpg4.a very_long_bytecode_file_name.bc |\
15 ; RUN: cmp -s %p/very_long_bytecode_file_name.bc -