Make llvm/test/Object/archive-format.test CRLF-tolerant.
[oota-llvm.git] / test / Object / archive-format.test
1 Test the exact archive format. In particular, test which file names use the
2 string table or not.
3
4 RUN: mkdir -p %t
5 RUN: cd %t
6
7 RUN: echo -n bar. > 0123456789abcde
8 RUN: echo -n zed. > 0123456789abcdef
9
10 RUN: rm -f test.a
11 RUN: llvm-ar rc test.a 0123456789abcde 0123456789abcdef
12 RUN: cat test.a | FileCheck -strict-whitespace %s
13
14 CHECK:      !<arch>
15 CHECK-NEXT: //                                              18        `
16 CHECK-NEXT: 0123456789abcdef/
17 CHECK-NEXT: 0123456789abcde/{{................................}}4         `
18 CHECK-NEXT: bar./0              {{................................}}4         `
19 CHECK-NEXT: zed.