Revert "ZTS: Avoid piping send directly to /dev/null"

This reverts commit 1a79f7e860.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Paul Dagnelie <pcd@delphix.com>
Reviewed-by: Rich Ercolani <rincebrain@gmail.com>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #13133
This commit is contained in:
наб 2022-02-21 02:43:49 +01:00 committed by Brian Behlendorf
parent d1a5e9594c
commit dd899641ee

View File

@ -75,9 +75,7 @@ if ! is_linux; then
log_must zfs share $fs
log_must zfs unshare $fs
fi
# https://github.com/openzfs/zfs/issues/11445
set -o pipefail
log_must zfs send -i $snap1 $snap2 | cat > /dev/null
log_must zfs send -i $snap1 $snap2 > /dev/null
log_must zfs holds $snap1
log_must eval "zpool history $TESTPOOL > $NEW_HISTORY"