aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2020-05-29 21:14:10 -0700
committerGitHub <[email protected]>2020-05-29 21:14:10 -0700
commit3d93161b0112b0baa4f5483d03105bd77605ff8d (patch)
tree379c1caf3d1abd9cbfbfccfee6f8f4e80d72280c /tests
parent4d829ad9c128d7769a1552d3170d2a66b8c6c7d4 (diff)
ztest: Fix ztest_run_zdb() failure
It's possible for ztest to be killed while the pool is exported which results in an empty cache file. This is a valid state to test, but the validation check performed by ztest_run_zdb() depends on the pool being in the cache file. If it's not the following error is printed. zdb -bccsv -G -d -Y -U /tmp/zloop-run/zpool.cache ztest zdb: can't open '/tmp/zloop-run': No such file or directory Resolve these failures by removing the dependency on the cache file. Functionally, we only care that the pool can be imported and that the zdb verification passes. Reviewed-by: George Melikov <[email protected]> Reviewed-by: Ryan Moeller <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #10385
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions