]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - tools/regression/usr.bin/make/archives/fmt_44bsd_mod/Makefile
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / tools / regression / usr.bin / make / archives / fmt_44bsd_mod / Makefile
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
11 test1: libtest.a(short.o)
12         @:
13
14 libtest.a(short.o): ood
15         @:
16
17 #############################################################################
18
19 # must be ok
20 test2: libtest.a(exactly15char.o)
21         @:
22
23 libtest.a(exactly15char.o): ood
24         @:
25
26 #############################################################################
27
28 # must be ok
29 test3: libtest.a(exactly16chars.o)
30         @:
31
32 libtest.a(exactly16chars.o): ood
33         @:
34
35 #############################################################################
36
37 # must be ok
38 test4: libtest.a(verylongobjectname.o)
39         @:
40
41 libtest.a(verylongobjectname.o): ood
42         @:
43
44 #############################################################################
45
46 # Truncated to 16 characters
47 # must fail
48 test5: libtest.a(verylongobjectna)
49         @:
50
51 #############################################################################
52
53 # Truncated to 15 characters
54 # must fail
55 test6: libtest.a(verylongobjectn)
56         @:
57
58 #############################################################################
59
60 # must fail
61 test7: libtest.a(\#1/20)
62         @:
63
64 ood: