/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/redacted_send/ |
H A D | redacted_contents.ksh | 38 typeset recvfs="$POOL2/$ds_name" 47 log_onexit redacted_cleanup $sendfs $recvfs 53 log_must eval "zfs recv $recvfs <$stream" 54 log_must mount_redacted -f $recvfs 58 log_must zfs destroy -R $recvfs 65 log_must eval "zfs recv $recvfs <$stream" 66 compare_files $sendfs $recvfs "f1" "$RANGE0" 68 log_must zfs destroy -R $recvfs 75 log_must eval "zfs recv $recvfs <$stream" 76 log_must mount_redacted -f $recvfs [all …]
|
H A D | redacted_holes.ksh | 36 typeset recvfs="$POOL2/$ds_name" 46 log_onexit redacted_cleanup $sendfs $recvfs 58 log_must eval "zfs recv $recvfs <$stream" 59 compare_files $sendfs $recvfs "f1" "$RANGE5" 61 log_must zfs destroy -R $recvfs 69 log_must eval "zfs recv $recvfs <$stream" 70 compare_files $sendfs $recvfs "f1" "$RANGE6" 72 log_must zfs destroy -R $recvfs 84 log_must eval "zfs recv $recvfs <$stream" 85 compare_files $sendfs $recvfs "f2" "$RANGE14" [all …]
|
H A D | redacted_resume.ksh | 34 typeset recvfs="$POOL2/$ds_name" 44 log_onexit redacted_cleanup $sendfs $recvfs 51 resume_test "zfs send --redact book1 $sendfs@snap" $tmpdir $recvfs 52 log_must mount_redacted -f $recvfs 69 $tmpdir $recvfs 77 log_mustnot zfs recv -A $recvfs 78 log_must zfs destroy -R $recvfs 79 log_mustnot zfs recv -A $recvfs 81 dd if=$stream bs=64k count=1 | log_mustnot zfs receive -s $recvfs 82 [[ "-" = $(get_prop receive_resume_token $recvfs) ]] && \ [all …]
|
H A D | redacted_mounts.ksh | 37 typeset recvfs="$POOL2/$ds_name" 49 log_onexit redacted_cleanup $sendfs $recvfs $recvvol 62 log_must eval "zfs receive $recvfs <$stream" 63 log_mustnot ismounted $recvfs 64 log_mustnot mount_redacted $recvfs 65 log_mustnot ismounted $recvfs 66 log_must mount_redacted -f $recvfs 67 log_must ismounted $recvfs 100 log_must eval "zfs receive $recvfs <$stream" 101 log_must mount_redacted -f $recvfs [all …]
|
H A D | redacted_embedded.ksh | 37 typeset recvfs="$POOL2/$ds_name" 47 log_onexit redacted_cleanup $sendfs $recvfs 51 log_must eval "zfs recv $recvfs <$stream" 54 log_must mount_redacted -f $recvfs 61 log_must eval "zdb -ddddd $recvfs $recv_obj >$tmpdir/recv.zdb" 69 log_must zfs destroy -R $recvfs 76 log_must eval "zfs recv $recvfs <$stream" 79 log_must mount_redacted -f $recvfs 89 log_must eval "zdb -ddddd $recvfs $recv_obj >$tmpdir/recv.zdb"
|
H A D | redacted_deleted.ksh | 34 typeset recvfs="$POOL2/$ds_name" 44 log_onexit redacted_cleanup $sendfs $recvfs 63 log_must eval "zfs recv $recvfs <$stream" 64 log_must mount_redacted -f $recvfs 73 log_must zfs destroy -R $recvfs 87 log_must eval "zfs recv $recvfs <$stream" 97 log_must eval "zfs recv $recvfs <$stream" 98 log_must mount_redacted -f $recvfs 100 log_must zfs destroy -R $recvfs
|
H A D | redacted_largeblocks.ksh | 35 typeset recvfs="$POOL2/$ds_name" 44 log_onexit redacted_cleanup $sendfs $recvfs 52 log_must eval "zfs recv $recvfs <$stream" 53 compare_files $sendfs $recvfs "f1" "$RANGE11" 54 log_must mount_redacted -f $recvfs 56 unmount_redacted $recvfs 60 log_must eval "zfs recv $recvfs/new <$stream"
|
H A D | redacted_compressed.ksh | 33 typeset recvfs="$POOL2/$ds_name" 41 log_onexit redacted_cleanup $sendfs $recvfs 50 log_must eval "zfs recv $recvfs <$stream" 52 compare_files $sendfs $recvfs "f1" "$RANGE4" 54 log_must mount_redacted -f $recvfs 55 verify_stream_size $stream $recvfs 56 log_must unmount_redacted $recvfs
|
H A D | redacted_negative.ksh | 26 typeset recvfs="$POOL2/recvfs" 34 log_onexit redacted_cleanup $sendfs $recvfs $clone3 73 log_must eval "zfs recv $recvfs <$stream" 74 log_must zfs snapshot $recvfs@snap 75 log_must zfs clone $recvfs@snap $clone3 77 log_mustnot zfs redact $recvfs@snap book5 $clone3@snap 80 log_mustnot zfs redact testpool2/recvfs@snap2 book7 testpool2/recvfs@snap
|
H A D | redacted_many_clones.ksh | 34 typeset recvfs="$POOL2/$ds_name" 45 log_onexit redacted_cleanup $sendfs $recvfs 62 log_must eval "zfs recv $recvfs <$stream" 63 compare_files $sendfs $recvfs "f2" "$RANGE8"
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/rsend/ |
H A D | rsend_030_pos.ksh | 38 recvfs=$POOL2/recvfs 44 test_fs_setup $sendfs $recvfs $streamfs 47 log_must zfs create -o readonly=on $recvfs 50 log_mustnot eval "zfs recv -suvF $recvfs </$streamfs/1" 51 token=$(get_prop receive_resume_token $recvfs) 53 log_mustnot eval "zfs recv -suv $recvfs </$streamfs/2" 54 log_must eval "zfs recv -suvF $recvfs </$streamfs/2" 55 file_check $sendfs $recvfs 60 log_mustnot eval "zfs recv -suvF $recvfs </$streamfs/3" 61 token=$(get_prop receive_resume_token $recvfs) [all …]
|
H A D | send-c_resume.ksh | 38 recvfs=$POOL2/recvfs 44 test_fs_setup $sendfs $recvfs $streamfs 45 resume_test "zfs send -c -v $sendfs@a" $streamfs $recvfs 46 resume_test "zfs send -c -v -i @a $sendfs@b" $streamfs $recvfs 47 file_check $sendfs $recvfs
|
H A D | rsend_021_pos.ksh | 42 recvfs=$POOL2/recvfs 47 test_fs_setup $sendfs $recvfs $streamfs 48 resume_test "zfs send -v -e $sendfs@a" $streamfs $recvfs 49 resume_test "zfs send -v -e -i @a $sendfs@b" $streamfs $recvfs 50 file_check $sendfs $recvfs
|
H A D | rsend_019_pos.ksh | 43 recvfs=$POOL3/recvfs 47 test_fs_setup $sendfs $recvfs $streamfs 48 resume_test "zfs send -v $sendfs@a" $streamfs $recvfs 49 resume_test "zfs send -v -i @a $sendfs@b" $streamfs $recvfs 50 file_check $sendfs $recvfs
|
H A D | send-c_embedded_blocks.ksh | 39 typeset recvfs=$POOL2/recvfs 46 log_must zfs create -o compress=lz4 $recvfs 70 log_must eval "zfs recv -d $recvfs <$stream" 71 cmp_ds_cont $sendfs $recvfs 88 $(get_prop mountpoint $recvfs/sendfs)/$recsize) 93 log_must eval "zdb -ddddd $recvfs/sendfs $recv_obj >$BACKDIR/recvfs.zdb" 98 grep -q "EMBEDDED" $BACKDIR/recvfs.zdb || \ 99 log_fail "Obj $recv_obj not embedded in $recvfs"
|
H A D | rsend_022_pos.ksh | 45 recvfs=$POOL2/recvfs 50 test_fs_setup $sendfs $recvfs $streamfs 53 log_must zfs receive -v $recvfs </$POOL/initial.zsend 54 resume_test "zfs send -i \#bm_a $sendfs@b" $streamfs $recvfs 58 file_check $sendfs $recvfs
|
H A D | rsend_020_pos.ksh | 40 recvfs=$POOL2/recvfs 45 test_fs_setup $sendfs $recvfs $streamfs 46 resume_test "zfs send -D -v $sendfs@a" $streamfs $recvfs 47 file_check $sendfs $recvfs
|
H A D | rsend_024_pos.ksh | 42 recvfs=$POOL2/recvfs 47 test_fs_setup $sendfs $recvfs $streamfs 49 resume_test "zfs send $sendfs" $streamfs $recvfs 0 50 file_check $sendfs $recvfs
|
H A D | send-c_recv_dedup.ksh | 37 typeset recvfs=$POOL2/recvfs 43 log_must zfs create -o compress=lz4 -o dedup=verify $recvfs 52 log_must eval "zfs recv -d $recvfs <$stream0" 53 cmp_ds_cont $sendfs $recvfs
|
H A D | rsend_031_pos.ksh | 35 recvfs=$POOL2/recvfs 41 zfs destroy -r $recvfs 52 log_must eval "zfs receive -F $recvfs < $BACKDIR/stream1" 59 log_must eval "zfs receive -Fv $recvfs < $BACKDIR/stream2"
|
H A D | send-c_longname.ksh | 40 typeset recvfs=$POOL2/recvfs 41 typeset recvfs3=$POOL3/recvfs 64 log_must eval "zfs recv $recvfs <$stream" 65 cmp_ds_cont $sendfs $recvfs
|
H A D | rsend.kshlib | 584 recvfs=$2 586 if [[ -d /$recvfs/.zfs/snapshot/a && -d \ 588 log_must directory_diff /$recvfs/.zfs/snapshot/a /$sendfs/.zfs/snapshot/a 590 if [[ -d /$recvfs/.zfs/snapshot/b && -d \ 592 log_must directory_diff /$recvfs/.zfs/snapshot/b /$sendfs/.zfs/snapshot/b 608 typeset recvfs=$3 616 log_mustnot eval "zfs recv -suv $recvfs </$streamfs/$stream_num" 619 token=$(get_prop receive_resume_token $recvfs) 627 log_must eval "zfs recv -suv $recvfs </$streamfs/$stream_num" 634 recvfs=$3 [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_receive/ |
H A D | zfs_receive_-e.ksh | 50 recvfs="$poolname/recv" 61 log_must zfs create "$recvfs" 70 log_mustnot eval "zfs receive -e $recvfs@snap < $streamfile" 71 log_mustnot eval "zfs receive -e $recvfs/1/2/3 < $streamfile" 72 log_mustnot eval "zfs receive -A -e $recvfs < $streamfile" 73 log_mustnot eval "zfs receive -e -d $recvfs < $streamfile" 78 recvfs_rootds="$recvfs/rootds" 88 recvfs_fs="$recvfs/fs"
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_promote/ |
H A D | zfs_promote_006_neg.ksh | 55 recvfs=$TESTPOOL/recvfs 61 "$recvfs/%recv" 67 datasetexists $recvfs && destroy_dataset $recvfs -r 77 create_recv_clone $recvfs
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_send/ |
H A D | zfs_send_sparse.ksh | 46 typeset recvfs="$2" 56 log_must eval "zfs send $sendfs@snap | zfs receive $recvfs" 58 recvfile="$(get_prop mountpoint $recvfs)/data.bin" 67 destroy_dataset $recvfs -r
|