aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/mtree/d_convert.in
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/mtree/d_convert.in')
-rw-r--r--usr.sbin/mtree/d_convert.in40
1 files changed, 40 insertions, 0 deletions
diff --git a/usr.sbin/mtree/d_convert.in b/usr.sbin/mtree/d_convert.in
new file mode 100644
index 000000000000..6a1abb07e1b0
--- /dev/null
+++ b/usr.sbin/mtree/d_convert.in
@@ -0,0 +1,40 @@
+# Similar to d_create.out, but a few entries have been deleted; nlink,
+# size and sha256 attributes have been removed; and the order has been
+# changed to test sorting.
+
+# .
+. type=dir
+ a.symlink.1 type=link link=a.file.1
+ top.dangling type=link link=nonexistent
+ top.symlink.b \
+ type=link link=b
+
+# ./b
+b type=dir
+ b.file.2 type=file
+ b.file.1 type=file
+# end ./b, up to "."
+..
+
+ top.file.1 type=file
+
+# ./a
+a type=dir
+ a.file.2 type=file
+
+# ./a/1
+1 type=dir
+ a1.file.1 type=file
+# end ./a/1, up to "./a"
+..
+
+ a.file.1 type=file
+
+# ./a/2
+2 type=dir
+# end ./a/2, up to "./a"
+..
+
+# end ./a, up to "."
+..
+