X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=blobdiff_plain;f=scripts%2Fzconfig.sh;h=281166c59ba756f3540b090ce148dc0f43d71c18;hb=91604b298c24c84fe03bc6c028abb961ca3e6fcf;hp=141348c037faf47f66317e04382441299d8c5840;hpb=2a3871d4bcc65dff7be4c9b55cb863421ddc8c3a;p=zfs.git diff --git a/scripts/zconfig.sh b/scripts/zconfig.sh index 141348c..281166c 100755 --- a/scripts/zconfig.sh +++ b/scripts/zconfig.sh @@ -264,8 +264,9 @@ test_4() { zconfig_zvol_device_stat 0 ${POOL_NAME} ${FULL_ZVOL_NAME} \ ${FULL_SNAP_NAME} ${FULL_CLONE_NAME} || fail 9 - # Load the modules, wait 1 second for udev + # Load the modules, list the pools to ensure they are opened ${ZFS_SH} zfs="spa_config_path=${TMP_CACHE}" || fail 10 + ${ZPOOL} list &>/dev/null # Verify the devices were created zconfig_zvol_device_stat 10 ${POOL_NAME} ${FULL_ZVOL_NAME} \