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 GitHub
parent 8d4ad5adc7
commit e9f51ebd94
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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
}