mirror_zfs/tests/zfs-tests/tests/functional
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
..
acl Fix typos in tests/ 2019-09-02 18:14:53 -07:00
alloc_class Update ZTS to work on FreeBSD 2019-12-18 12:29:43 -08:00
arc ZTS: Catalog tunable names for tests in tunables.cfg 2020-01-14 14:57:28 -08:00
atime ZTS: Misc fixes for FreeBSD 2020-02-25 16:23:27 -08:00
bootfs Update ZTS to work on FreeBSD 2019-12-18 12:29:43 -08:00
btree ZTS: Fix ksh path in btree tests 2020-01-15 16:23:29 -08:00
cache ZTS: Adopt OpenZFS test analysis script 2018-06-20 14:03:13 -07:00
cachefile Fix typos in tests/ 2019-09-02 18:14:53 -07:00
casenorm ZTS: Adapt casenorm tests for FreeBSD 2020-02-26 08:41:30 -08:00
channel_program Support setting user properties in a channel program 2020-02-14 13:41:42 -08:00
chattr Update ZTS to work on FreeBSD 2019-12-18 12:29:43 -08:00
checksum ZTS: Don't use edonr on FreeBSD 2020-01-28 08:38:02 -08:00
clean_mirror ZTS: clean_mirror and scrub_mirror cleanup 2018-07-09 12:46:14 -07:00
cli_root ZTS: Fix zfs_receive_004_neg 2020-02-27 09:37:34 -08:00
cli_user ZTS: Misc fixes for FreeBSD 2020-02-25 16:23:27 -08:00
compression Refactor compression algorithm selection for tests 2019-12-04 13:10:12 -08:00
cp_files Fix ENOSPC in "Handle zap_add() failures in ..." 2018-04-18 14:19:50 -07:00
ctime Update ZTS to work on FreeBSD 2019-12-18 12:29:43 -08:00
deadman ZTS: Catalog tunable names for tests in tunables.cfg 2020-01-14 14:57:28 -08:00
delegate ZTS: Misc fixes for FreeBSD 2020-02-24 10:17:55 -08:00
devices ZTS: devices_001_pos and devices_002_neg 2019-12-27 12:11:27 -08:00
events Add subcommand to wait for background zfs activity to complete 2019-09-13 18:09:06 -07:00
exec Enable remaining tests 2017-05-22 12:34:32 -04:00
fault ZTS: Fix a few defaults 2020-01-31 08:51:23 -08:00
features ZTS: Catalog tunable names for tests in tunables.cfg 2020-01-14 14:57:28 -08:00
grow ZTS: Adopt OpenZFS test analysis script 2018-06-20 14:03:13 -07:00
history Use the correct spelling of 'jailed' in tests 2020-01-31 08:52:29 -08:00
hkdf OpenZFS restructuring - libspl 2019-10-02 10:39:48 -07:00
inheritance ZTS: Misc fixes for FreeBSD 2020-02-25 16:23:27 -08:00
inuse ZTS: Eliminate partitioning from zpool_create etc 2020-02-20 08:10:13 -08:00
io Direct IO support 2018-08-27 10:04:21 -07:00
large_files Fix typos in tests/ 2019-09-02 18:10:31 -07:00
largest_pool ZTS: largest_pool_001 path cleanup 2018-08-18 21:18:31 -07:00
libzfs OpenZFS restructuring - libspl 2019-10-02 10:39:48 -07:00
limits zfs receive and rollback can skew filesystem_count 2019-01-08 10:17:46 -08:00
link_count Add link count test for root inode 2019-05-29 16:26:46 -07:00
log_spacemap ZTS: Catalog tunable names for tests in tunables.cfg 2020-01-14 14:57:28 -08:00
migration ZTS: Fix a few defaults 2020-01-31 08:51:23 -08:00
mmap Fix typos in tests/ 2019-09-02 18:10:31 -07:00
mmp ZTS: Catalog tunable names for tests in tunables.cfg 2020-01-14 14:57:28 -08:00
mount ZTS: Catalog tunable names for tests in tunables.cfg 2020-01-14 14:57:28 -08:00
mv_files ZTS: Provide an alternative to shuf for FreeBSD 2020-01-09 09:31:17 -08:00
nestedfs OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
no_space ZTS: Eliminate partitioning from zpool_create etc 2020-02-20 08:10:13 -08:00
nopwrite Update ZTS to work on FreeBSD 2019-12-18 12:29:43 -08:00
online_offline Add subcommand to wait for background zfs activity to complete 2019-09-13 18:09:06 -07:00
pool_checkpoint ZTS: Misc test fixes for FreeBSD 2020-02-13 13:52:34 -08:00
pool_names Fix some ZFS Test Suite issues 2017-09-25 10:32:34 -07:00
poolversion Fix some ZFS Test Suite issues 2017-09-25 10:32:34 -07:00
privilege ZTS: Move privilege tests to sunos.run 2020-02-21 08:52:44 -08:00
procfs ZTS: Fix pool_state cleanup 2019-12-28 08:43:23 -08:00
projectquota Fix typos in tests/ 2019-09-02 18:08:56 -07:00
pyzfs Fix typos in tests/ 2019-09-02 18:08:56 -07:00
quota Update ZTS to work on FreeBSD 2019-12-18 12:29:43 -08:00
raidz Fix typos in tests/ 2019-09-02 18:08:56 -07:00
redacted_send ZTS: Use wc -c instead of --bytes for portability 2020-02-07 12:31:38 -08:00
redundancy ZTS: Eliminate functions named 'random' 2020-01-08 09:08:30 -08:00
refquota ZTS: Catalog tunable names for tests in tunables.cfg 2020-01-14 14:57:28 -08:00
refreserv ZTS: Don't use lsblk on FreeBSD 2020-02-21 08:38:34 -08:00
removal ZTS: Don't use edonr on FreeBSD 2020-01-28 08:38:02 -08:00
rename_dirs Enable remaining tests 2017-05-22 12:34:32 -04:00
replacement ZTS: Test case reliability 2018-08-12 09:38:53 -07:00
reservation Fix typos in tests/ 2019-08-30 16:52:00 -07:00
resilver ZTS: Catalog tunable names for tests in tunables.cfg 2020-01-14 14:57:28 -08:00
rootpool Update ZTS to work on FreeBSD 2019-12-18 12:29:43 -08:00
rsend ZTS: Misc test fixes for FreeBSD 2020-02-13 13:52:34 -08:00
scrub_mirror ZTS: clean_mirror and scrub_mirror cleanup 2018-07-09 12:46:14 -07:00
slog ZTS: Fix faulty slog_replay_fs_001 test 2020-02-20 08:11:51 -08:00
snapshot ZTS: Catalog tunable names for tests in tunables.cfg 2020-01-14 14:57:28 -08:00
snapused Fix "file is executable, but no shebang" warnings 2018-04-06 16:34:21 -07:00
sparse ZTS: Adopt OpenZFS test analysis script 2018-06-20 14:03:13 -07:00
suid Implement secpolicy_vnode_setid_retain() 2019-07-26 13:52:30 -07:00
threadsappend ZTS: Adopt OpenZFS test analysis script 2018-06-20 14:03:13 -07:00
tmpfile Don't fail to apply umask for O_TMPFILE files 2019-12-13 15:02:23 -08:00
trim ZTS: Misc test fixes for FreeBSD 2020-02-13 13:52:34 -08:00
truncate Update ZTS to work on FreeBSD 2019-12-18 12:29:43 -08:00
upgrade ZTS: Fix upgrade_readonly_pool 2019-10-03 09:39:13 -07:00
user_namespace Fix "file is executable, but no shebang" warnings 2018-04-06 16:34:21 -07:00
userquota ZTS: Fix userquota_006_pos on FreeBSD 2020-02-20 08:14:24 -08:00
vdev_zaps ZTS: Fix vdev_zaps_005_pos on CentOS 6 2019-08-22 08:53:44 -07:00
write_dirs ZTS: Eliminate partitioning from write_dirs 2020-02-13 12:08:59 -08:00
xattr ZTS: Misc fixes for FreeBSD 2020-02-24 10:17:55 -08:00
zvol ZTS: Misc test fixes for FreeBSD 2020-02-13 13:52:34 -08:00
Makefile.am Tests for btree implementation used by range trees 2019-12-19 11:53:54 -08:00