1 Test the exact archive format. In particular, test which file names use the
7 RUN: echo -n bar. > 0123456789abcde
8 RUN: echo -n zed. > 0123456789abcdef
11 RUN: llvm-ar --format=gnu rc %t.a 0123456789abcde 0123456789abcdef
12 RUN: cat %t.a | FileCheck -strict-whitespace %s
16 CHECK-NEXT: 0123456789abcdef/
17 CHECK-NEXT: 0123456789abcde/0 0 0 644 4 `
18 CHECK-NEXT: bar./0 0 0 0 644 4 `
22 RUN: llvm-ar --format=bsd rc %t.a 0123456789abcde 0123456789abcdef
23 RUN: cat %t.a | FileCheck -strict-whitespace --check-prefix=BSD %s
26 BSD-NEXT: #1/20 0 0 0 644 24 `
27 BSD-NEXT: 0123456789abcde{{.....}}bar.
28 BSD-SAME: #1/16 0 0 0 644 20 `
29 BSD-NEXT: 0123456789abcdefzed.