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