summaryrefslogtreecommitdiffstats
path: root/contrib/netbsd-tests/usr.bin/config/d_postponed_orphan
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/netbsd-tests/usr.bin/config/d_postponed_orphan')
-rw-r--r--contrib/netbsd-tests/usr.bin/config/d_postponed_orphan21
1 files changed, 21 insertions, 0 deletions
diff --git a/contrib/netbsd-tests/usr.bin/config/d_postponed_orphan b/contrib/netbsd-tests/usr.bin/config/d_postponed_orphan
new file mode 100644
index 0000000..bb5ec04
--- /dev/null
+++ b/contrib/netbsd-tests/usr.bin/config/d_postponed_orphan
@@ -0,0 +1,21 @@
+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 ?
OpenPOWER on IntegriCloud