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