mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git
synced 2024-11-15 08:14:21 +08:00
btrfs-progs: tests: detect send stream version in misc/053
The encoded stream is supported since protocol version 2, detect support. Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
7d06a7e561
commit
20496884a9
@ -11,6 +11,11 @@ check_prereq btrfs
|
||||
setup_root_helper
|
||||
prepare_test_dev
|
||||
|
||||
if grep -q '1$' "/sys/fs/btrfs/features/send_stream_version"; then
|
||||
_not_run "kernel does not support send stream >1"
|
||||
exit
|
||||
fi
|
||||
|
||||
here=`pwd`
|
||||
|
||||
# assumes the filesystem exists, and does mount, write, snapshot, send, unmount
|
||||
|
Loading…
Reference in New Issue
Block a user