David Sterba
21a858b2ea
btrfs-progs: tests: update misc/054 to test escaping of clone and xattrs
...
Add cases for clone source path and xattr name and value escapin in
receive dump.
Signed-off-by: David Sterba <dsterba@suse.com>
2024-06-24 19:18:58 +02:00
David Sterba
f6bbe06c08
btrfs-progs: tests: add protection against running out of test suite
...
Executing the script inside the directories as './test.sh' is not
supposed to work but could happen accidentally. With an exit after
attempting to source the we can fix that.
Signed-off-by: David Sterba <dsterba@suse.com>
2023-04-25 16:59:41 +02:00
David Sterba
7d06a7e561
btrfs-progs: tests: use _mktemp_local for temporary files
...
Signed-off-by: David Sterba <dsterba@suse.com>
2022-10-11 09:06:13 +02:00
David Sterba
1c3ab87c92
btrfs-progs: tests: check that receive --dump escapes target paths
...
Verify that receive --dump escapes paths for rename, symlink and
hardlink when it's the "dest=" value.
Signed-off-by: David Sterba <dsterba@suse.com>
2022-10-11 09:06:12 +02:00