send-c_props.ksh revision 5602294fda888d923d57a78bafdaf48ae6223dea
#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"), version 1.0.
# You may only use this file in accordance with the terms of version
# 1.0 of the CDDL.
#
# A full copy of the text of the CDDL should have accompanied this
# source. A copy of the CDDL is also available via the Internet at
#
#
# Copyright (c) 2015 by Delphix. All rights reserved.
#
#
# Description:
# Verify compressed send streams can still preserve properties
#
# Strategy:
# 1. Randomly modify the properties in the src pool
# 2. Send a full compressed stream with -p to preserve properties
# 3. Verify all the received properties match the source datasets
# 4. Repeat the process with -R instead of -p
#
verify_runnable "global"
function cleanup
{
}
log_assert "Compressed send doesn't interfere with preservation of properties"
typeset ds
done
done
# Don't cleanup the second time, since we do that on exit anyway.
done
log_pass "Compressed send doesn't interfere with preservation of properties"