svn commit: r292349 - projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_set

Alan Somers asomers at FreeBSD.org
Wed Dec 16 19:14:39 UTC 2015


Author: asomers
Date: Wed Dec 16 19:14:37 2015
New Revision: 292349
URL: https://svnweb.freebsd.org/changeset/base/292349

Log:
  Reinstate the "gzip-6" to "gzip" expected value translation.
  
  This is required by compression_001_pos, which sets and checks property
  values for the compression property.  This particular value gets translated
  internally because gzip-6 is the default for "gzip".
  
  Submitted by:	Will
  Sponsored by:	Spectra Logic Corp

Modified:
  projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_set/zfs_set_common.kshlib

Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_set/zfs_set_common.kshlib
==============================================================================
--- projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_set/zfs_set_common.kshlib	Wed Dec 16 19:01:14 2015	(r292348)
+++ projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_set/zfs_set_common.kshlib	Wed Dec 16 19:14:37 2015	(r292349)
@@ -64,6 +64,7 @@ function set_n_check_prop
 
 	err="ERROR: Dataset '$dataset': '$prop' value '$cur_value'"
 	if [ "$expect_result" = "true" ]; then
+		[ "$expect_value" = "gzip-6" ] && expect_value="gzip"
 		case "$prop" in
 		reservation|reserv|quota)
 			if [ "$expect_value" = "none" -a "$cur_value" != "0" ]; then


More information about the svn-src-projects mailing list