]> git.proxmox.com Git - mirror_zfs.git/blobdiff - tests/zfs-tests/tests/functional/rsend/send-c_embedded_blocks.ksh
Update ZTS to work on FreeBSD
[mirror_zfs.git] / tests / zfs-tests / tests / functional / rsend / send-c_embedded_blocks.ksh
index 1983a3ea18483679a969475d3fc670fcb858a937..70f79b3173b7af030ced40c46696aaf6a0046726 100755 (executable)
@@ -53,7 +53,7 @@ for recsize in "${recsize_prop_vals[@]}"; do
        # For lz4, this method works for blocks up to 16k, but not larger
        [[ $recsize -eq $((32 * 1024)) ]] && break
 
-       if is_linux; then
+       if is_linux || is_freebsd; then
                log_must truncate -s $recsize $dir/$recsize
                log_must dd if=/dev/urandom of=$dir/$recsize \
                    seek=$((recsize - 8)) bs=1 count=8 conv=notrunc