mirror_zfs/tests/zfs-tests/tests/functional/cli_root
Paul Zuchowski 5a4d282f55
Fix problem with zdb -d
zdb -d <pool>/<objset ID> does not work when
other command line arguments are included i.e.
zdb -U <cachefile> -d <pool>/<objset ID>
This change fixes the command line parsing
to handle this situation.  Also fix issue
where zdb -r <dataset> <file> does not handle
the root <dataset> of the pool. Introduce -N
option to force <objset ID> to be interpreted
as a numeric objsetID.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Rich Ercolani <rincebrain@gmail.com>
Reviewed-by: Tony Nguyen <tony.nguyen@delphix.com>
Signed-off-by: Paul Zuchowski <pzuchowski@datto.com>
Closes #12845
Closes #12944
2022-01-20 10:28:55 -07:00
..
zdb Fix problem with zdb -d 2022-01-20 10:28:55 -07:00
zfs ZTS: Standardize use of destroy_dataset in cleanup 2021-10-25 15:13:50 -06:00
zfs_bookmark ZTS: Standardize use of destroy_dataset in cleanup 2021-10-25 15:13:50 -06:00
zfs_change-key ZTS: Standardize use of destroy_dataset in cleanup 2021-10-25 15:13:50 -06:00
zfs_clone ZTS: Standardize use of destroy_dataset in cleanup 2021-10-25 15:13:50 -06:00
zfs_copies ZTS: normalize on use of sync_pool and sync_all_pools 2022-01-06 10:57:09 -08:00
zfs_create ZTS: Standardize use of destroy_dataset in cleanup 2021-10-25 15:13:50 -06:00
zfs_destroy ZTS: normalize on use of sync_pool and sync_all_pools 2022-01-06 10:57:09 -08:00
zfs_diff t/z_diff/socket, zfs: main: fix unused argument warnings, ARGSUSED tags 2021-12-13 15:50:47 -08:00
zfs_get Do not print UINT64_MAX value for some of zfs properties 2021-10-29 16:18:13 -07:00
zfs_ids_to_path Fix typos 2020-06-09 21:24:09 -07:00
zfs_inherit ZTS: Standardize use of destroy_dataset in cleanup 2021-10-25 15:13:50 -06:00
zfs_jail FreeBSD: Fix zfs jail and add a test 2020-08-01 08:44:54 -07:00
zfs_load-key ZTS: Standardize use of destroy_dataset in cleanup 2021-10-25 15:13:50 -06:00
zfs_mount ZTS: normalize on use of sync_pool and sync_all_pools 2022-01-06 10:57:09 -08:00
zfs_program Removed Python 2 and Python 3.5- support 2022-01-13 09:51:12 -07:00
zfs_promote ZTS: Standardize use of destroy_dataset in cleanup 2021-10-25 15:13:50 -06:00
zfs_property ZTS: Standardize use of destroy_dataset in cleanup 2021-10-25 15:13:50 -06:00
zfs_receive ZTS: normalize on use of sync_pool and sync_all_pools 2022-01-06 10:57:09 -08:00
zfs_rename ZTS: Standardize use of destroy_dataset in cleanup 2021-10-25 15:13:50 -06: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 ZTS: normalize on use of sync_pool and sync_all_pools 2022-01-06 10:57:09 -08:00
zfs_send ZTS: normalize on use of sync_pool and sync_all_pools 2022-01-06 10:57:09 -08:00
zfs_set Enable edonr in FreeBSD 2021-11-16 12:40:10 -07:00
zfs_share ZTS: Standardize use of destroy_dataset in cleanup 2021-10-25 15:13:50 -06:00
zfs_snapshot ZTS: Standardize use of destroy_dataset in cleanup 2021-10-25 15:13:50 -06:00
zfs_sysfs Update ZTS to work on FreeBSD 2019-12-18 12:29:43 -08:00
zfs_unload-key ZTS: Standardize use of destroy_dataset in cleanup 2021-10-25 15:13:50 -06:00
zfs_unmount ZTS: Standardize use of destroy_dataset in cleanup 2021-10-25 15:13:50 -06:00
zfs_unshare ZTS: Standardize use of destroy_dataset in cleanup 2021-10-25 15:13:50 -06:00
zfs_upgrade ZTS: Standardize use of destroy_dataset in cleanup 2021-10-25 15:13:50 -06:00
zfs_wait Add 'zfs wait' command 2020-04-01 10:02:06 -07:00
zhack zhack: Add repair label option 2021-11-11 11:26:18 -08:00
zpool ZTS: normalize on use of sync_pool and sync_all_pools 2022-01-06 10:57:09 -08:00
zpool_add Check l2cache vdevs pending list inside the vdev_inuse() 2021-11-11 11:54:15 -08:00
zpool_attach vdev_ashift should only be set once 2020-09-18 12:13:47 -07:00
zpool_clear ZTS: normalize on use of sync_pool and sync_all_pools 2022-01-06 10:57:09 -08:00
zpool_create Update cache file when setting compatibility property 2021-06-24 14:30:02 -07:00
zpool_destroy ZTS: Standardize use of destroy_dataset in cleanup 2021-10-25 15:13:50 -06: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_events ZTS: normalize on use of sync_pool and sync_all_pools 2022-01-06 10:57:09 -08:00
zpool_expand Distributed Spare (dRAID) Feature 2020-11-13 13:51:51 -08:00
zpool_export ZTS: zpool_export test improvements 2021-01-26 13:14:04 -08:00
zpool_get Enable edonr in FreeBSD 2021-11-16 12:40:10 -07:00
zpool_history ZTS: Standardize use of destroy_dataset in cleanup 2021-10-25 15:13:50 -06:00
zpool_import ZTS: Standardize use of destroy_dataset in cleanup 2021-10-25 15:13:50 -06:00
zpool_initialize ZTS: normalize on use of sync_pool and sync_all_pools 2022-01-06 10:57:09 -08:00
zpool_labelclear ZTS: normalize on use of sync_pool and sync_all_pools 2022-01-06 10:57:09 -08:00
zpool_offline Force fault a vdev with 'zpool offline -f' 2017-05-19 12:30:16 -07:00
zpool_online ZTS: normalize on use of sync_pool and sync_all_pools 2022-01-06 10:57:09 -08:00
zpool_remove ZTS: Eliminate partitioning from zpool_remove 2020-02-13 12:10:35 -08:00
zpool_reopen ZTS: normalize on use of sync_pool and sync_all_pools 2022-01-06 10:57:09 -08:00
zpool_replace vdev_ashift should only be set once 2020-09-18 12:13:47 -07:00
zpool_resilver ZTS: normalize on use of sync_pool and sync_all_pools 2022-01-06 10:57:09 -08:00
zpool_scrub ZTS: normalize on use of sync_pool and sync_all_pools 2022-01-06 10:57:09 -08:00
zpool_set vdev_ashift should only be set once 2020-09-18 12:13:47 -07:00
zpool_split ZTS: normalize on use of sync_pool and sync_all_pools 2022-01-06 10:57:09 -08:00
zpool_status Add "compatibility" property for zpool feature sets 2021-02-17 21:30:45 -08:00
zpool_sync OpenZFS 9166 - zfs storage pool checkpoint 2018-06-26 10:07:42 -07:00
zpool_trim ZTS: normalize on use of sync_pool and sync_all_pools 2022-01-06 10:57:09 -08:00
zpool_upgrade Add "compatibility" property for zpool feature sets 2021-02-17 21:30:45 -08:00
zpool_wait ZTS: normalize on use of sync_pool and sync_all_pools 2022-01-06 10:57:09 -08: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
Makefile.am zhack: Add repair label option 2021-11-11 11:26:18 -08:00