NetBSD/tests/usr.bin/config/d_ifdef

63 lines
694 B
Plaintext

include "arch/regress/conf/std.regress"
maxusers 4
define TRUE
ifdef TRUE
options OK1_1
elifdef FALSE
options BAD1_1
elifdef TRUE
options BAD1_2
else
options BAD1_3
endif
ifdef FALSE
options BAD2_1
elifdef TRUE
ifdef FALSE
options BAD2_2
elifdef TRUE
options OK2_1
else
options BAD2_3
endif
options OK2_2
endif
ifdef FALSE
options BAD3_1
elifdef TRUE
ifdef FALSE
options BAD3_2
else
options OK3_1
ifdef TRUE
ifdef FALSE
options BAD3_3
elifdef TRUE
options OK3_2
endif
options OK3_3
elifdef TRUE
options BAD3_4
else
options BAD3_5
endif
options OK3_4
endif
options OK3_5
endif
ifdef TRUE
options OK4_1
else
ifdef TRUE
options BAD4_2
else
options BAD4_3
endif
endif
config regress root on ?