ZTS: Fix and change testcase cache_010_neg
commitc602b35cf7091e5afd192c9a943433379e21f567
authoralex <alex@stty.io>
Mon, 13 Apr 2020 17:50:41 +0000 (14 01:50 +0800)
committerGitHub <noreply@github.com>
Mon, 13 Apr 2020 17:50:41 +0000 (13 10:50 -0700)
tree8072ab4de0de4aec0b246070295fb38120324783
parent20f287855a61a64a90e01edfd551ff28f7abdb5c
ZTS: Fix and change testcase cache_010_neg

Commit 379ca9c removed the requirement on aux devices to be block
devices only but the test case cache_010_neg was not updated, making it
fail consistently.

This change changes the test to check that cache devices _can_ be
anything that presents a block interface. The testcase is renamed to
cache_010_pos and the exceptions for known failure removed from the test
runner.

Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reported-by: Richard Elling <Richard.Elling@RichardElling.com>
Signed-off-by: Alex John <alex@stty.io>
Closes #10172
tests/runfiles/common.run
tests/test-runner/bin/zts-report.py
tests/zfs-tests/tests/functional/cache/Makefile.am
tests/zfs-tests/tests/functional/cache/cache_010_pos.ksh [moved from tests/zfs-tests/tests/functional/cache/cache_010_neg.ksh with 64% similarity]
tests/zfs-tests/tests/functional/cache/setup.ksh