mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-06-08 06:56:38 +03:00
ZTS: /dev/null: accept no substitutes
Instead of writing to "devnull" and rming it later, just > /dev/null to not have to cleanup later. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Paul Dagnelie <pcd@delphix.com> Co-authored-by: Rich Ercolani <rincebrain@gmail.com> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes #13133
This commit is contained in:
committed by
Brian Behlendorf
parent
dd899641ee
commit
7eb179be18
@@ -64,7 +64,7 @@ log_must file_write -b 1048576 -c 8 -o create -d 0 -f $mntpnt/file
|
||||
log_must zpool export $TESTPOOL
|
||||
log_must zpool import $TESTPOOL
|
||||
log_must zinject -d $DISK1 -D 5:1 $TESTPOOL
|
||||
log_must dd if=$mntpnt/file of=$TEST_BASE_DIR/devnull oflag=sync
|
||||
log_must dd if=$mntpnt/file of=/dev/null oflag=sync
|
||||
|
||||
events=$(zpool events $TESTPOOL | grep -c ereport.fs.zfs.deadman)
|
||||
log_note "events=$events"
|
||||
|
||||
Reference in New Issue
Block a user