summaryrefslogtreecommitdiffstats
path: root/contrib/netbsd-tests/usr.bin/config/d_shadow_instance
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/netbsd-tests/usr.bin/config/d_shadow_instance')
-rw-r--r--contrib/netbsd-tests/usr.bin/config/d_shadow_instance25
1 files changed, 25 insertions, 0 deletions
diff --git a/contrib/netbsd-tests/usr.bin/config/d_shadow_instance b/contrib/netbsd-tests/usr.bin/config/d_shadow_instance
new file mode 100644
index 0000000..6022821
--- /dev/null
+++ b/contrib/netbsd-tests/usr.bin/config/d_shadow_instance
@@ -0,0 +1,25 @@
+include "arch/regress/conf/std.regress"
+
+maxusers 4
+
+file-system REGRESSFS
+
+master0 at root
+
+parenti* at master?
+parentii* at master?
+
+# The second child* instance (attaching at parentii) is useless: it will be
+# shadowed by the first one, which is semantically the same, from a parentii
+# device's point of view.
+#
+# The two child* instances are aliases, and at some point the orphan-checking
+# code skipped some aliases, in the shadowing situation and some others.
+#
+# This test should pass, the lines are valid, even though the second one is
+# useless.
+
+child* at hook?
+child* at parentii?
+
+config regress root on ?
OpenPOWER on IntegriCloud