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:
Brian Behlendorf 2016-08-30 18:50:11 -07:00
parent 82ab6848cc
commit 3f10fe07d6
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@
verify_runnable "global"
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 mtpts "$TESTDIR" "$TESTDIR1"