]> git.proxmox.com Git - mirror_zfs.git/commit - tests/runfiles/common.run
ZTS: Move dumpdev tests to sunos.run
authorRyan Moeller <ryan@iXsystems.com>
Fri, 3 Jan 2020 17:08:23 +0000 (12:08 -0500)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 3 Jan 2020 17:08:23 +0000 (09:08 -0800)
commitd7164b27bee6c2837affcc42892fbd4b45dd13ff
treee36eb766d156fee7423943a3159d4c07bd994cd0
parentcc618d179e87fa13b67c98e93cf92569d995dd20
ZTS: Move dumpdev tests to sunos.run

Neither FreeBSD nor Linux support dumping to zvols.

DilOS still uses these tests, so the files are kept and the tests have
been relocated to sunos.run.

An `is_illumos` function was added to libtest.shlib to eliminate some
awkward platform checks.

A few functions that are not expected to be used outside of illumos
have been sanitized of extraneous FreeBSD adaptations.

Reviewed-by: Igor Kozhukhov <igor@dilos.org>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ryan Moeller <ryan@ixsystems.com>
Closes #9794
16 files changed:
tests/runfiles/common.run
tests/runfiles/sunos.run [new file with mode: 0644]
tests/test-runner/bin/zts-report.py
tests/zfs-tests/include/default.cfg.in
tests/zfs-tests/include/libtest.shlib
tests/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add.kshlib
tests/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add_005_pos.ksh
tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create.shlib
tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_011_neg.ksh
tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_016_pos.ksh
tests/zfs-tests/tests/functional/cli_root/zpool_import/setup.ksh
tests/zfs-tests/tests/functional/inuse/inuse_001_pos.ksh
tests/zfs-tests/tests/functional/inuse/inuse_003_pos.ksh
tests/zfs-tests/tests/functional/inuse/inuse_006_pos.ksh
tests/zfs-tests/tests/functional/inuse/inuse_007_pos.ksh
tests/zfs-tests/tests/functional/zvol/zvol_common.shlib