diff options
author | ngie <ngie@FreeBSD.org> | 2016-02-10 17:57:24 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2016-02-10 17:57:24 +0000 |
commit | 7342fc0c5b47fe6436f2c133f1fe863b2d7bc41c (patch) | |
tree | d1b3e3d6a9b6008b3c2157e2c2dd67e92640ec8a /tests | |
parent | 97d8d420222cd21928a200566960d593915409db (diff) | |
download | FreeBSD-src-7342fc0c5b47fe6436f2c133f1fe863b2d7bc41c.zip FreeBSD-src-7342fc0c5b47fe6436f2c133f1fe863b2d7bc41c.tar.gz |
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
Diffstat (limited to 'tests')
-rw-r--r-- | tests/sys/geom/class/gate/3_test.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/sys/geom/class/gate/3_test.sh b/tests/sys/geom/class/gate/3_test.sh index 8901aca..3511df7 100644 --- a/tests/sys/geom/class/gate/3_test.sh +++ b/tests/sys/geom/class/gate/3_test.sh @@ -27,6 +27,7 @@ if ! ggatel create -u $us /dev/$work; then exit 1 fi +sleep 1 dd if=/dev/${src} of=/dev/ggate${us} bs=1m count=1 conv=sync sleep 1 |