mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-26 19:19:32 +03:00
Update zpool_import_001_pos
Older versions of blkid may not promptly detect ZFS labels when they're located on partitions. In order to ensure this test passes reliably always perform a scan of default search paths (-s). Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: liaoyuxiangqin <guo.yong33@zte.com.cn> Closes #4987 Closes #5047
This commit is contained in:
parent
82ab6848cc
commit
3f10fe07d6
@ -52,7 +52,7 @@
|
|||||||
verify_runnable "global"
|
verify_runnable "global"
|
||||||
|
|
||||||
set -A pools "$TESTPOOL" "$TESTPOOL1"
|
set -A pools "$TESTPOOL" "$TESTPOOL1"
|
||||||
set -A devs "" "-d $DEVICE_DIR"
|
set -A devs " -s" "-d $DEVICE_DIR"
|
||||||
set -A options "" "-R $ALTER_ROOT"
|
set -A options "" "-R $ALTER_ROOT"
|
||||||
set -A mtpts "$TESTDIR" "$TESTDIR1"
|
set -A mtpts "$TESTDIR" "$TESTDIR1"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user