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