zfs/tests/zfs-tests/tests/functional/cli_root
Brian Behlendorf ddd20dbe0b Fix 'zpool create|add' replication level check
When the pool configuration contains a hole due to a previous device
removal ignore this top level vdev.  Failure to do so will result in
the current configuration being assessed to have a non-uniform
replication level and the expected warning will be disabled.

The zpool_add_010_pos test case was extended to cover this scenario.

Reviewed-by: George Melikov <mail@gmelikov.ru>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #6907
Closes #6911
2017-12-04 17:21:39 -08:00
..
zdb OpenZFS 6392 - zdb: introduce -V for verbatim import 2017-04-18 09:50:15 -07:00
zfs OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
zfs_clone Fix arithmetic error message in zfs_clone_010_pos 2017-06-26 14:48:54 -07:00
zfs_copies Fix volume WR_INDIRECT log replay (#6620) 2017-09-13 16:04:16 -07:00
zfs_create Add zfs_nicebytes() to print human-readable sizes 2017-05-02 13:43:53 -07:00
zfs_destroy Enable additional test cases 2017-05-11 14:27:57 -07:00
zfs_get Enable remaining tests 2017-05-22 12:34:32 -04:00
zfs_inherit OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
zfs_mount Fix remounting snapshots read-write 2017-08-21 16:46:52 -07:00
zfs_promote OpenZFS 8072 - zfs-tests: several test cases incorrectly spell TESTPOOL 2017-05-25 10:33:12 -07:00
zfs_property Enable remaining tests 2017-05-22 12:34:32 -04:00
zfs_receive Enable additional test cases 2017-05-11 14:27:57 -07:00
zfs_rename OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
zfs_reservation OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
zfs_rollback Fix volume WR_INDIRECT log replay (#6620) 2017-09-13 16:04:16 -07:00
zfs_send Disable zfs_send_007_pos 2017-08-02 11:20:32 -07:00
zfs_set Disable nbmand tests on kernels w/o support 2017-07-24 11:03:50 -07:00
zfs_share OpenZFS 7535 - need test for resumed send of top most filesystem 2017-04-12 08:47:42 -07:00
zfs_snapshot zfstest - replace dircmp with diff 2017-04-09 16:17:55 -07:00
zfs_unmount Enable remaining tests 2017-05-22 12:34:32 -04:00
zfs_unshare Enable remaining tests 2017-05-22 12:34:32 -04:00
zfs_upgrade Enable additional test cases 2017-05-11 14:27:57 -07:00
zpool OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
zpool_add Fix 'zpool create|add' replication level check 2017-12-04 17:21:39 -08:00
zpool_attach More ashift improvements 2017-05-03 09:31:05 -07:00
zpool_clear Fix ARC behavior on 32-bit systems 2017-10-16 10:57:55 -07:00
zpool_create Fix volume WR_INDIRECT log replay (#6620) 2017-09-13 16:04:16 -07:00
zpool_destroy OpenZFS 8071 - zfs-tests: 7290 missed some cases 2017-05-25 17:22:55 -07:00
zpool_detach OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
zpool_expand Enable remaining tests 2017-05-22 12:34:32 -04:00
zpool_export Enable additional test cases 2017-05-11 14:27:57 -07:00
zpool_get Multi-modifier protection (MMP) 2017-07-13 13:54:00 -04:00
zpool_history OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
zpool_import Fix zpool_import_all_001_pos 2017-06-13 09:05:55 -07:00
zpool_labelclear OpenZFS 6865 - want zfs-tests cases for zpool labelclear command 2017-04-11 09:54:39 -07:00
zpool_offline Force fault a vdev with 'zpool offline -f' 2017-05-19 12:30:16 -07:00
zpool_online OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
zpool_remove OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
zpool_replace More ashift improvements 2017-05-03 09:31:05 -07:00
zpool_scrub Implemented zpool scrub pause/resume 2017-07-06 22:16:13 -07:00
zpool_set More ashift improvements 2017-05-03 09:31:05 -07:00
zpool_status zpool iostat/status -c improvements 2017-06-05 10:52:15 -07:00
zpool_sync Implemented zpool sync command 2017-05-19 12:33:11 -07:00
zpool_upgrade Fix ARC behavior on 32-bit systems 2017-10-16 10:57:55 -07:00
Makefile.am Implemented zpool sync command 2017-05-19 12:33:11 -07:00
cli_common.kshlib OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00