Hello All,

i have found and filed a bug:
https://www.illumos.org/issues/7538

i’d like propose modify zfs test rootpool/rootpool_003_neg.ksh to do something 
like:

create test dataset on rootpool like: rpool/zfstest$$ - or on smartos based 
env: zones/zfstest$$ - with mountpont to /tmp/zfstest$$
calculate mounts by: M1=$(mount | wc -l)

try to destroy rootpool and check that we are failed
calculate mounts by: M2=$(mount | wc -l) again

compare calculated mounts and fail test if $M1 != $M2

what do you think about it (update scenario)?

right now - we are testing only 'zpool destroy rpool' responce, but based on my 
bug report - we are removing mounts to mountpoints and it’s bad.

best regards,
-Igor



-------------------------------------------
openzfs-developer
Archives: https://www.listbox.com/member/archive/274414/=now
RSS Feed: https://www.listbox.com/member/archive/rss/274414/28015062-cce53afa
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=28015062&id_secret=28015062-f966d51c
Powered by Listbox: http://www.listbox.com

Reply via email to