One more test from uwe.diff -r1.1 -r1.2 src/tests/usr.bin/config/d_ifdef
(christos)
--- src/tests/usr.bin/config/d_ifdef 2020/03/08 17:21:52 1.1
+++ src/tests/usr.bin/config/d_ifdef 2020/03/09 17:27:29 1.2
@@ -1,52 +1,62 @@ | @@ -1,52 +1,62 @@ | |||
1 | include "arch/regress/conf/std.regress" | 1 | include "arch/regress/conf/std.regress" | |
2 | maxusers 4 | 2 | maxusers 4 | |
3 | 3 | |||
4 | define TRUE | 4 | define TRUE | |
5 | ifdef TRUE | 5 | ifdef TRUE | |
6 | options OK1_1 | 6 | options OK1_1 | |
7 | elifdef FALSE | 7 | elifdef FALSE | |
8 | options BAD1_1 | 8 | options BAD1_1 | |
9 | elifdef TRUE | 9 | elifdef TRUE | |
10 | options BAD1_2 | 10 | options BAD1_2 | |
11 | else | 11 | else | |
12 | options BAD1_3 | 12 | options BAD1_3 | |
13 | endif | 13 | endif | |
14 | 14 | |||
15 | ifdef FALSE | 15 | ifdef FALSE | |
16 | options BAD2_1 | 16 | options BAD2_1 | |
17 | elifdef TRUE | 17 | elifdef TRUE | |
18 | ifdef FALSE | 18 | ifdef FALSE | |
19 | options BAD2_2 | 19 | options BAD2_2 | |
20 | elifdef TRUE | 20 | elifdef TRUE | |
21 | options OK2_1 | 21 | options OK2_1 | |
22 | else | 22 | else | |
23 | options BAD2_3 | 23 | options BAD2_3 | |
24 | endif | 24 | endif | |
25 | options OK2_2 | 25 | options OK2_2 | |
26 | endif | 26 | endif | |
27 | 27 | |||
28 | ifdef FALSE | 28 | ifdef FALSE | |
29 | options BAD3_1 | 29 | options BAD3_1 | |
30 | elifdef TRUE | 30 | elifdef TRUE | |
31 | ifdef FALSE | 31 | ifdef FALSE | |
32 | options BAD3_2 | 32 | options BAD3_2 | |
33 | else | 33 | else | |
34 | options OK3_1 | 34 | options OK3_1 | |
35 | ifdef TRUE | 35 | ifdef TRUE | |
36 | ifdef FALSE | 36 | ifdef FALSE | |
37 | options BAD3_3 | 37 | options BAD3_3 | |
38 | elifdef TRUE | 38 | elifdef TRUE | |
39 | options OK3_2 | 39 | options OK3_2 | |
40 | endif | 40 | endif | |
41 | options OK3_3 | 41 | options OK3_3 | |
42 | elifdef TRUE | 42 | elifdef TRUE | |
43 | options BAD3_4 | 43 | options BAD3_4 | |
44 | else | 44 | else | |
45 | options BAD3_5 | 45 | options BAD3_5 | |
46 | endif | 46 | endif | |
47 | options OK3_4 | 47 | options OK3_4 | |
48 | endif | 48 | endif | |
49 | options OK3_5 | 49 | options OK3_5 | |
50 | endif | 50 | endif | |
51 | 51 | |||
52 | ifdef TRUE | |||
53 | options OK4_1 | |||
54 | else | |||
55 | ifdef TRUE | |||
56 | options BAD4_2 | |||
57 | else | |||
58 | options BAD4_3 | |||
59 | endif | |||
60 | endif | |||
61 | ||||
52 | config regress root on ? | 62 | config regress root on ? |