HomeFreeBSD

ZTS: fix flakiness in cp_files_002_pos

Description

ZTS: fix flakiness in cp_files_002_pos

Fix RANDOM to not return zero.

Overwriting with dd ... count=0 does not test anything.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Allan Jude <allan@klarasystems.com>
Signed-off-by: Robert Evans <evansr@google.com>
Closes #16029

Details

Provenance
Robert Evans <evansr@google.com>Authored on Mar 27 2024, 9:59 PM
Tony Hutter <hutter2@llnl.gov>Committed on Apr 29 2024, 8:50 PM
Parents
rG67995229a865: Fix option string, adding -e and fixing order
Branches
Unknown
Tags
Unknown

Event Timeline

Tony Hutter <hutter2@llnl.gov> committed rGd088fb7d2408: ZTS: fix flakiness in cp_files_002_pos (authored by Robert Evans <evansr@google.com>).Apr 29 2024, 8:50 PM