diff options
author | phk <phk@FreeBSD.org> | 2003-04-13 09:06:39 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-04-13 09:06:39 +0000 |
commit | 54f789d5816c0876125681071569fdc3867a0df7 (patch) | |
tree | 14e086332c6bae22e9cbed63ab7f84362eb616c8 /tools | |
parent | 03b1ca36baf4bd8325f619d97a48764fc6dced85 (diff) | |
download | FreeBSD-src-54f789d5816c0876125681071569fdc3867a0df7.zip FreeBSD-src-54f789d5816c0876125681071569fdc3867a0df7.tar.gz |
Give mdconfig a couple of seconds to deconfigure in case debugging is being
printed to a serial console.
Reverse the order of args to diff to make it more logical.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/regression/geom/RunTest.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tools/regression/geom/RunTest.sh b/tools/regression/geom/RunTest.sh index 9990b0d..46a14b4 100644 --- a/tools/regression/geom/RunTest.sh +++ b/tools/regression/geom/RunTest.sh @@ -15,13 +15,19 @@ do b=`basename $f` mdconfig -d -u $MD > /dev/null 2>&1 || true if [ -c /dev/md$MD ] ; then + sleep 1 + fi + if [ -c /dev/md$MD ] ; then + sleep 1 + fi + if [ -c /dev/md$MD ] ; then echo "/dev/md$MD is busy" 1>&2 exit 1 fi MdLoad/MdLoad md${MD} $f if [ -f Ref/$b ] ; then if diskinfo /dev/md${MD}* | - diff -I '$FreeBSD' -u - Ref/$b > $TMP; then + diff -I '$FreeBSD' -u Ref/$b - > $TMP; then echo "PASSED: $b" else echo "FAILED: $b" |