HomeFreeBSD

Fix incorrect expected error in ztest

Description

Fix incorrect expected error in ztest

There is an occasional ztest failure that looks like ztest: attach
(/var/tmp/zloop-run/ztest.13a 570425344, draid1-1-0 532152320, 1)
returned 22, expected 95. This is because the value that we return
is EINVAL, but expected_error is set incorrectly.

Change the expected_error value to match both the comment and the
actual error value.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Paul Dagnelie <pcd@delphix.com>
Closes #15295

Details

Provenance
pcd_delphix.comAuthored on Sep 19 2023, 4:02 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Sep 22 2023, 11:13 PM
Parents
rGcc75c816c539: Fix l2arc_apply_transforms ztest crash
Branches
Unknown
Tags
Unknown

Event Timeline