]> git.proxmox.com Git - mirror_zfs.git/commitdiff
Revert "ZTS: Avoid piping send directly to /dev/null"
authorнаб <nabijaczleweli@nabijaczleweli.xyz>
Mon, 21 Feb 2022 01:43:49 +0000 (02:43 +0100)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 8 Mar 2022 17:33:10 +0000 (09:33 -0800)
This reverts commit 1a79f7e86021c5de33d3518dd9a0f14f924ee345.

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

tests/zfs-tests/tests/functional/history/history_006_neg.ksh

index c3a5e092d02d8a0cc744eab010ccff3b26097978..19b7114faf5bac582ea47cf66c15a9b9160ddeab 100755 (executable)
@@ -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"