1# This test checks the code reading archive files. The archive file
2# is an old BSD file with __.SYMTAB and no long file names. Filenames
3# are truncated to 16 characters.
4
5#############################################################################
6
7# must be ok
8test1: libtest.a(short.o)
9	@:
10
11libtest.a(short.o): ood
12	@:
13
14#############################################################################
15
16# must be ok
17test2: libtest.a(exactly15char.o)
18	@:
19
20libtest.a(exactly15char.o): ood
21	@:
22
23#############################################################################
24
25# must be ok
26test3: libtest.a(exactly16chars.o)
27	@:
28
29libtest.a(exactly16chars.o): ood
30	@:
31
32#############################################################################
33
34# must be ok
35test4: libtest.a(verylongobjectname.o)
36	@:
37
38libtest.a(verylongobjectname.o): ood
39	@:
40
41#############################################################################
42
43# Truncated to 16 characters
44# must be ok
45test5: libtest.a(verylongobjectna)
46	@:
47
48#############################################################################
49
50# Truncated to 15 characters
51# must fail
52test6: libtest.a(verylongobjectn)
53	@:
54
55#############################################################################
56
57# must fail
58test7: libtest.a(\#1/20)
59	@:
60
61ood:
62