mirror of
https://github.com/kdave/btrfs-progs
synced 2025-02-18 02:36:56 +00: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
|
setup_root_helper
|
||||||
prepare_test_dev
|
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`
|
here=`pwd`
|
||||||
|
|
||||||
# assumes the filesystem exists, and does mount, write, snapshot, send, unmount
|
# assumes the filesystem exists, and does mount, write, snapshot, send, unmount
|
||||||
|
Loading…
Reference in New Issue
Block a user