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# The modification of the archive consists in slashes appended to short names.
5#
6
7#############################################################################
8
9# must be ok
10test1: libtest.a(short.o)
11	@:
12
13libtest.a(short.o): ood
14	@:
15
16#############################################################################
17
18# must be ok
19test2: libtest.a(exactly15char.o)
20	@:
21
22libtest.a(exactly15char.o): ood
23	@:
24
25#############################################################################
26
27# must be ok
28test3: libtest.a(exactly16chars.o)
29	@:
30
31libtest.a(exactly16chars.o): ood
32	@:
33
34#############################################################################
35
36# must be ok
37test4: libtest.a(verylongobjectname.o)
38	@:
39
40libtest.a(verylongobjectname.o): ood
41	@:
42
43#############################################################################
44
45# Truncated to 16 characters
46# must fail
47test5: libtest.a(verylongobjectna)
48	@:
49
50#############################################################################
51
52# Truncated to 15 characters
53# must fail
54test6: libtest.a(verylongobjectn)
55	@:
56
57#############################################################################
58
59# must fail
60test7: libtest.a(\#1/20)
61	@:
62
63ood:
64