ZTS: fix zfs_copies_006_pos test on Ubuntu 20.04 (#16409)

This test was failing before:
- FAIL cli_root/zfs_copies/zfs_copies_006_pos (expected PASS)

Signed-off-by: Tino Reichardt <milky-zfs@mcmilk.de>
Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: George Melikov <mail@gmelikov.ru>
This commit is contained in:
Tino Reichardt 2024-08-06 01:18:07 +02:00 committed by Tony Hutter
parent 0465fbecd7
commit 88a5ee0706
1 changed files with 2 additions and 0 deletions

View File

@ -153,5 +153,7 @@ function do_vol_test
log_must umount $mntp
fi
# Ubuntu 20.04 wants a sync here
log_must sync
log_must zfs destroy $vol
}