tests: vdev_zaps_007: actually test the new pool

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: John Kennedy <john.kennedy@delphix.com>
Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #13259
This commit is contained in:
наб 2022-03-09 23:54:07 +01:00 committed by Brian Behlendorf
parent 592cf7f1e2
commit 25aeffadb2
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ log_assert "Per-vdev ZAPs persist on the new pool after import."
# Import the split pool. # Import the split pool.
log_must zpool import $POOL2 log_must zpool import $POOL2
log_must eval "zdb -PC $TESTPOOL > $conf" log_must eval "zdb -PC $POOL2 > $conf"
new_leaf1=$(get_leaf_vd_zap ${DISK_ARR[1]} $conf) new_leaf1=$(get_leaf_vd_zap ${DISK_ARR[1]} $conf)
new_top_s1=$(get_top_vd_zap ${DISK_ARR[1]} $conf) new_top_s1=$(get_top_vd_zap ${DISK_ARR[1]} $conf)