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/fstree1.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/libfstree/fstree1.txt') diff --git a/tests/libfstree/fstree1.txt b/tests/libfstree/fstree1.txt index 090aff9..95ee469 100644 --- a/tests/libfstree/fstree1.txt +++ b/tests/libfstree/fstree1.txt @@ -4,6 +4,7 @@ dir /dir 0755 4 5 nod /chardev 0600 6 7 c 13 37 nod /blkdev 0600 8 9 b 42 21 pipe /pipe 0644 10 11 +dir / 0755 1000 100 dir "/foo bar" 0755 0 0 dir "/foo bar/ test \"/" 0755 0 0 sock /sock 0555 12 13 \ No newline at end of file -- cgit v1.2.3