NetBSD/regress/usr.bin/config/POSTPONED_ORPHAN
cube b31e2ad635 Add a test, POSTPONED_ORPHAN, that should fail (although it currently
does not).  Rework the Makefile magic to have failing and succeeding tests.

POSTPONED_ORPHAN is an example of a configuration where the user starts
negating an instance, and then adding an instance of a child of the negated
one.  The latter should be found as an erroneous orphan, as the parent was
negated beforewards.
2005-10-04 13:44:23 +00:00

22 lines
407 B
Plaintext

include "arch/regress/conf/std.regress"
maxusers 4
file-system REGRESSFS
master0 at root
parenti* at master?
# Here, parenti is negated before the child* instance is declared. That
# means the child* instance does not qualify as an explicit orphan and
# therefore should _not_ be ignored.
#
# config(1) should error out on that config file.
no parenti
child* at parenti?
config regress root on ?