mirror_zfs/tests/zfs-tests
loli10K c24fa4b19a Fix "zpool add -n" for dedup, special and log devices
For dedup, special and log devices "zpool add -n" does not print
correctly their vdev type:

~# zpool add -n pool dedup /tmp/dedup special /tmp/special log /tmp/log
would update 'pool' to the following configuration:
	pool
	  /tmp/normal
	  /tmp/dedup
	  /tmp/special
	  /tmp/log

This could lead storage administrators to modify their ZFS pools to
unexpected and unintended vdev configurations.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: loli10K <ezomori.nozomu@gmail.com>
Closes #9783 
Closes #9390
2020-01-06 15:40:06 -08:00
..
callbacks ZTS: change $(cat) to $(<) for speedup 2018-10-31 12:00:06 -05:00
cmd ZTS: Test case failures 2019-12-26 10:49:07 -08:00
include ZTS: Cleanup partition tables 2020-01-06 11:14:19 -08:00
tests Fix "zpool add -n" for dedup, special and log devices 2020-01-06 15:40:06 -08:00
Makefile.am OpenZFS 7503 - zfs-test should tail ::zfs_dbgmsg on test failure 2017-04-12 13:36:48 -07:00