xref: /netbsd-src/tests/usr.bin/config/d_shadow_instance (revision 28604916d4405d94c855cf455ac3ac6fee06a908)
1*28604916Sjruohoinclude "arch/regress/conf/std.regress"
2*28604916Sjruoho
3*28604916Sjruohomaxusers 4
4*28604916Sjruoho
5*28604916Sjruohofile-system 	REGRESSFS
6*28604916Sjruoho
7*28604916Sjruohomaster0 	at root
8*28604916Sjruoho
9*28604916Sjruohoparenti* 	at master?
10*28604916Sjruohoparentii* 	at master?
11*28604916Sjruoho
12*28604916Sjruoho# The second child* instance (attaching at parentii) is useless: it will be
13*28604916Sjruoho# shadowed by the first one, which is semantically the same, from a parentii
14*28604916Sjruoho# device's point of view.
15*28604916Sjruoho#
16*28604916Sjruoho# The two child* instances are aliases, and at some point the orphan-checking
17*28604916Sjruoho# code skipped some aliases, in the shadowing situation and some others.
18*28604916Sjruoho#
19*28604916Sjruoho# This test should pass, the lines are valid, even though the second one is
20*28604916Sjruoho# useless.
21*28604916Sjruoho
22*28604916Sjruohochild* 	at hook?
23*28604916Sjruohochild* 	at parentii?
24*28604916Sjruoho
25*28604916Sjruohoconfig regress root on ?
26