svn commit: r295477 - head/tests/sys/geom/class/gate
Garrett Cooper
ngie at FreeBSD.org
Wed Feb 10 17:57:25 UTC 2016
Author: ngie
Date: Wed Feb 10 17:57:24 2016
New Revision: 295477
URL: https://svnweb.freebsd.org/changeset/base/295477
Log:
Similar to r295116, add an additional 1 second sleep after calling ggatel
before calling dd to defeat a race when writing out to the geom_gate(4)
device
MFC after: 1 month
Reported by: Jenkins
Sponsored by: EMC / Isilon Storage Division
Modified:
head/tests/sys/geom/class/gate/3_test.sh
Modified: head/tests/sys/geom/class/gate/3_test.sh
==============================================================================
--- head/tests/sys/geom/class/gate/3_test.sh Wed Feb 10 17:55:39 2016 (r295476)
+++ head/tests/sys/geom/class/gate/3_test.sh Wed Feb 10 17:57:24 2016 (r295477)
@@ -27,6 +27,7 @@ if ! ggatel create -u $us /dev/$work; th
exit 1
fi
+sleep 1
dd if=/dev/${src} of=/dev/ggate${us} bs=1m count=1 conv=sync
sleep 1
More information about the svn-src-head
mailing list