From b0b88d26c9df6d336167f87ce926bba9b56f6af0 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Thu, 25 Mar 2021 14:23:58 +0100 Subject: 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 --- tests/libfstree/fstree_glob3.txt | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 tests/libfstree/fstree_glob3.txt (limited to 'tests/libfstree/fstree_glob3.txt') 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 -- cgit v1.2.3