mirror_zfs/tests/zfs-tests/tests/functional/cli_root
Matthew Ahrens ab9646166d
ZTS: Fix zfs_receive_004_neg
`zfs recv` of an incremental stream that already exists is ignored, with
a message like:

    receiving incremental stream of pool/fs@incsnap into pool/fs@incsnap
    snap testpool/testfs@incsnap already exists; ignoring

And the command exits successfully (exit code 0).

The zfs_receive_004_neg test is expecting that a this case will fail,
with nonzero exit code.

The fix is to remove this specific command from the test case.  This
lets us check that the remaining commands do in fact fail.

Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Matthew Ahrens <mahrens@delphix.com>
Closes #10055
2020-02-27 09:37:34 -08:00
..
zdb ZTS: Fix zdb_display_block on FreeBSD 2020-02-12 13:01:55 -08:00
zfs Use the correct spelling of 'jailed' in tests 2020-01-31 08:52:29 -08:00
zfs_bookmark Implement bookmark copying 2020-02-11 13:19:12 -08:00
zfs_change-key Fix 'zfs change-key' with unencrypted child 2019-10-30 11:27:28 -07:00
zfs_clone Clean up zfs_clone_010_pos 2019-09-05 16:20:09 -07:00
zfs_copies ZTS: Fix zfs_copies_002_pos 2020-02-26 14:29:12 -08:00
zfs_create ZTS: Misc fixes for FreeBSD 2020-02-25 16:23:27 -08:00
zfs_destroy ZTS: Catalog tunable names for tests in tunables.cfg 2020-01-14 14:57:28 -08:00
zfs_diff ZTS: Eliminate functions named 'random' 2020-01-08 09:08:30 -08:00
zfs_get Update ZTS to work on FreeBSD 2019-12-18 12:29:43 -08:00
zfs_inherit Use the correct spelling of 'jailed' in tests 2020-01-31 08:52:29 -08:00
zfs_load-key Clean up (k)shlib and cfg file shebangs 2018-04-08 19:37:22 -07:00
zfs_mount ZTS: Check the right mount options on FreeBSD 2020-02-20 08:12:23 -08:00
zfs_program ZTS: zfs_program_json 2019-12-27 12:12:41 -08:00
zfs_promote Fix clone handling with encryption roots 2019-09-16 10:07:33 -07:00
zfs_property ZTS: Written props test fails with 4k disks 2019-10-18 13:27:02 -04:00
zfs_receive ZTS: Fix zfs_receive_004_neg 2020-02-27 09:37:34 -08:00
zfs_rename ZTS: Catalog tunable names for tests in tunables.cfg 2020-01-14 14:57:28 -08: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: Misc fixes for FreeBSD 2020-02-24 10:17:55 -08:00
zfs_send Prefer org.openzfs for features and properties 2020-02-18 09:36:50 -08:00
zfs_set ZTS: Misc fixes for FreeBSD 2020-02-24 10:17:55 -08:00
zfs_share ZTS: Adopt OpenZFS test analysis script 2018-06-20 14:03:13 -07:00
zfs_snapshot Use the correct spelling of 'jailed' in tests 2020-01-31 08:52:29 -08:00
zfs_sysfs Update ZTS to work on FreeBSD 2019-12-18 12:29:43 -08:00
zfs_unload-key Native Encryption for ZFS on Linux 2017-08-14 10:36:48 -07:00
zfs_unmount ZTS: Misc fixes for FreeBSD 2020-02-24 10:17:55 -08:00
zfs_unshare ZTS: Refactor is_shared, fix impl on FreeBSD 2020-02-21 15:59:20 -08:00
zfs_upgrade Fix typos in tests/ 2019-08-30 16:53:48 -07:00
zpool ZTS: Misc test fixes for FreeBSD 2020-02-13 13:52:34 -08:00
zpool_add ZTS: Don't include zpool_create.shlib in zpool_add 2020-02-13 12:11:25 -08:00
zpool_attach ZTS: Eliminate partitioning from zpool_create etc 2020-02-20 08:10:13 -08:00
zpool_clear Add subcommand to wait for background zfs activity to complete 2019-09-13 18:09:06 -07:00
zpool_create ZTS: Misc fixes for FreeBSD 2020-02-25 16:23:27 -08:00
zpool_destroy ZTS: Eliminate partitioning from zpool_destroy 2020-02-21 16:00:22 -08: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 Enable zpool events tunables and tests on FreeBSD 2020-02-18 11:22:56 -08:00
zpool_expand zed: detect and offline physically removed devices 2018-11-09 11:17:24 -08:00
zpool_export ZTS: Fix incorrect is_physical_device usage 2020-01-16 13:26:26 -08:00
zpool_get ZTS: Don't use edonr on FreeBSD 2020-01-28 08:38:02 -08:00
zpool_history Fix typos in tests/ 2019-09-02 18:12:01 -07:00
zpool_import ZTS: Misc fixes for FreeBSD 2020-02-25 16:23:27 -08:00
zpool_initialize ZTS: Catalog tunable names for tests in tunables.cfg 2020-01-14 14:57:28 -08:00
zpool_labelclear ZTS: Avoid nonportable cmp flag 2020-02-19 09:03:31 -08:00
zpool_offline Force fault a vdev with 'zpool offline -f' 2017-05-19 12:30:16 -07:00
zpool_online Wait for resilver after online 2018-04-13 18:04:10 -07:00
zpool_remove ZTS: Eliminate partitioning from zpool_remove 2020-02-13 12:10:35 -08:00
zpool_reopen ZTS: Fix a few defaults 2020-01-31 08:51:23 -08:00
zpool_replace ZTS: Eliminate partitioning from zpool_create etc 2020-02-20 08:10:13 -08:00
zpool_resilver ZTS: Catalog tunable names for tests in tunables.cfg 2020-01-14 14:57:28 -08:00
zpool_scrub ZTS: Catalog tunable names for tests in tunables.cfg 2020-01-14 14:57:28 -08:00
zpool_set ZTS: Eliminate partitioning from zpool_create etc 2020-02-20 08:10:13 -08:00
zpool_split ZTS: Catalog tunable names for tests in tunables.cfg 2020-01-14 14:57:28 -08:00
zpool_status Move some tests to cli_user/zpool_status 2019-07-19 11:21:54 -07:00
zpool_sync OpenZFS 9166 - zfs storage pool checkpoint 2018-06-26 10:07:42 -07:00
zpool_trim ZTS: Misc test fixes for FreeBSD 2020-02-13 13:52:34 -08:00
zpool_upgrade ZTS: Eliminate functions named 'random' 2020-01-08 09:08:30 -08:00
zpool_wait ZTS: Catalog tunable names for tests in tunables.cfg 2020-01-14 14:57:28 -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 Add subcommand to wait for background zfs activity to complete 2019-09-13 18:09:06 -07:00