9 # Start from the right directory so we can find all our data files.
12 (cd MdLoad
&& make) > /dev
/null
2>&1
14 # Print the test header
16 echo `ls -1 Data/disk.*.xml | wc -l`
18 for f
in Data
/disk.
*.xml
21 mdconfig
-d -u $MD > /dev
/null
2>&1 || true
22 if [ -c /dev
/md
$MD ] ; then
25 if [ -c /dev
/md
$MD ] ; then
28 if [ -c /dev
/md
$MD ] ; then
30 echo "/dev/md$MD is busy"
33 MdLoad
/MdLoad md
${MD} $f
34 if [ -f Ref
/$b ] ; then
35 if diskinfo
/dev
/md
${MD}* |
36 diff -I '$FreeBSD' -u Ref
/$b - > $TMP; then
43 diskinfo
/dev
/md
${MD}* > Ref
/`basename $f`
47 mdconfig
-d -u $MD > /dev
/null
2>&1 || true