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