From 0820ec65c4027b878894776a0fbbeac271e87803 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Fri, 7 Feb 2014 10:54:11 -0800 Subject: [PATCH] Fix zconfig.sh test 9 Commit ba6a240 adjusted the behavior of 'zfs create -V'. The caller is no longer guaranteed that udev will have finished creating the /dev/ entries by the time to command exits. It is therefore required that we explicitly block waiting for udev to settle for this test to run reliably. Signed-off-by: Brian Behlendorf --- scripts/zconfig.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/zconfig.sh b/scripts/zconfig.sh index 622bb28f17..d6695be723 100755 --- a/scripts/zconfig.sh +++ b/scripts/zconfig.sh @@ -554,6 +554,7 @@ test_9() { ${ZFS_SH} zfs="spa_config_path=${TMP_CACHE}" || fail 1 ${ZPOOL_CREATE_SH} -p ${POOL_NAME} -c lo-raidz2 || fail 2 ${ZFS} create -V 300M ${FULL_NAME} || fail 3 + udev_trigger # Dump the events, there should be at least 5 lines. ${ZPOOL} events >${TMP_EVENTS} || fail 4