aboutsummaryrefslogtreecommitdiffstats
path: root/tests/runfiles/common.run
diff options
context:
space:
mode:
authorRyan Moeller <[email protected]>2020-09-30 16:19:49 -0400
committerGitHub <[email protected]>2020-09-30 13:19:49 -0700
commitc0bd2e0fe206791242d467b6f84789bf08c3a118 (patch)
tree7da4b6764fde98a8b300c0a4c298eb7a2d7e6a96 /tests/runfiles/common.run
parent68cdafdbb8c3515328cedd351b471e1bb918bd27 (diff)
Drop references when skipping dmu_send due to EXDEV
When an invalid incremental send is requested where the "to" ds is before the "from" ds, make sure to drop the reference to the pool and the dataset before returning the error. Add an assert on FreeBSD to make sure we don't hold any locks after returning from an ioctl. Add some test coverage. Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ryan Moeller <[email protected]> Closes #10919
Diffstat (limited to 'tests/runfiles/common.run')
-rw-r--r--tests/runfiles/common.run2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runfiles/common.run b/tests/runfiles/common.run
index 23bcf21d2..a29578b36 100644
--- a/tests/runfiles/common.run
+++ b/tests/runfiles/common.run
@@ -784,7 +784,7 @@ tests = ['recv_dedup', 'recv_dedup_encrypted_zvol', 'rsend_001_pos',
'send_freeobjects', 'send_realloc_files',
'send_realloc_encrypted_files', 'send_spill_block', 'send_holds',
'send_hole_birth', 'send_mixed_raw', 'send-wR_encrypted_zvol',
- 'send_partial_dataset']
+ 'send_partial_dataset', 'send_invalid']
tags = ['functional', 'rsend']
[tests/functional/scrub_mirror]