summaryrefslogtreecommitdiff
path: root/tests/libfstree/fstree_glob3.txt
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2021-03-25 14:23:58 +0100
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2021-03-25 14:35:39 +0100
commitb0b88d26c9df6d336167f87ce926bba9b56f6af0 (patch)
tree39733ee0a0127380bc7b4c93cd67f6a15afc74e4 /tests/libfstree/fstree_glob3.txt
parentbd87f7c8a46cabe6d4c71d9cea74329898da31a7 (diff)
libfstree: Allow / as argument for "glob" and "dir" commands
This allows putting globbed files & directories into the filesystem root, as well as explicitly setting attributes of the root directory from the file lisiting. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tests/libfstree/fstree_glob3.txt')
-rw-r--r--tests/libfstree/fstree_glob3.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/libfstree/fstree_glob3.txt b/tests/libfstree/fstree_glob3.txt
new file mode 100644
index 0000000..35090e4
--- /dev/null
+++ b/tests/libfstree/fstree_glob3.txt
@@ -0,0 +1,2 @@
+glob / 0755 0 0 -type d ../libtar/data
+glob / 0644 0 0 -type f -name "*gnu*.tar" -- ../libtar/data