From 168ef9be32ad754d7bcb38ed70787237fc12630d Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Tue, 22 Nov 2022 14:45:32 +0100 Subject: Move gensquashfs specific code from libfstree to gensquashfs The "from dir" and from "from file" code, as well as the "sort file" code is specific to gensquashfs, so move them there and the test cases as well. The medium term idea is to reduce libfstree to a stub, merge it into the generic writer and ultimately hoist that into libsquashfs. Signed-off-by: David Oberhollenzer --- tests/gensquashfs/fstree1.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 tests/gensquashfs/fstree1.txt (limited to 'tests/gensquashfs/fstree1.txt') diff --git a/tests/gensquashfs/fstree1.txt b/tests/gensquashfs/fstree1.txt new file mode 100644 index 0000000..95ee469 --- /dev/null +++ b/tests/gensquashfs/fstree1.txt @@ -0,0 +1,10 @@ +# comment line +slink /slink 0644 2 3 slinktarget +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