Add script to run kernel based regression test and the reference vectors

for the current XML images.
This commit is contained in:
phk 2003-04-09 12:40:12 +00:00
parent 052492c05d
commit e66eeacdc8
16 changed files with 151 additions and 0 deletions

View File

@ -0,0 +1,7 @@
$FreeBSD$
/dev/md34 512 5120 10
/dev/md34a 512 251658240 491520
/dev/md34b 512 1086291968 2121664
/dev/md34c 512 18309995520 35761710
/dev/md34e 512 20971520 40960
/dev/md34f 512 16951073792 33107566

View File

@ -0,0 +1,5 @@
$FreeBSD$
/dev/md34 512 5120 10
/dev/md34a 512 24675840 48195
/dev/md34b 512 4178442240 8161020
/dev/md34c 512 74027520 144585

View File

@ -0,0 +1,2 @@
$FreeBSD$
/dev/md34 512 366530560 715880

View File

@ -0,0 +1,5 @@
$FreeBSD$
/dev/md34 512 5120 10
/dev/md34a 512 4064280576 7938048
/dev/md34b 512 270925824 529152
/dev/md34c 512 4335206400 8467200

View File

@ -0,0 +1,11 @@
$FreeBSD$
/dev/md34 512 2671841280 5218440
/dev/md34s1 512 20003848704 39070017
/dev/md34s1a 512 1073741824 2097152
/dev/md34s1b 512 1073741824 2097152
/dev/md34s1c 512 20003848704 39070017
/dev/md34s1d 512 4447175168 8685889
/dev/md34s1e 512 524288000 1024000
/dev/md34s1f 512 4294967296 8388608
/dev/md34s1g 512 3221225472 6291456
/dev/md34s1h 512 5368709120 10485760

View File

@ -0,0 +1,2 @@
$FreeBSD$
/dev/md34 512 1474560 2880 80 2 18

View File

@ -0,0 +1,4 @@
$FreeBSD$
/dev/md34 512 5632 11
/dev/md34s1 512 296821760 579730
/dev/md34s2 512 4564740096 8915508

View File

@ -0,0 +1,12 @@
$FreeBSD$
/dev/md34 512 37888 74
/dev/md34a 512 37748736 73728
/dev/md34b 512 268435456 524288
/dev/md34c 512 8422686720 16450560
/dev/md34h 512 8115978240 15851520
/dev/md34s1 512 18367017984 35873082
/dev/md34s1b 512 419430400 819200
/dev/md34s1c 512 18367017984 35873082
/dev/md34s1e 512 419430400 819200
/dev/md34s1f 512 1073741824 2097152
/dev/md34s1g 512 16454415360 32137530

View File

@ -0,0 +1,5 @@
$FreeBSD$
/dev/md34 512 5632 11
/dev/md34a 512 1474560 2880
/dev/md34b 512 1474560 2880
/dev/md34c 512 1474560 2880

View File

@ -0,0 +1,27 @@
$FreeBSD$
/dev/md34 512 2327759360 4546405
/dev/md34s1 512 2146765824 4192902
/dev/md34s10 512 8193024 16002
/dev/md34s11 512 8193024 16002
/dev/md34s12 512 8193024 16002
/dev/md34s13 512 8193024 16002
/dev/md34s14 512 8193024 16002
/dev/md34s15 512 8193024 16002
/dev/md34s16 512 8193024 16002
/dev/md34s17 512 8193024 16002
/dev/md34s18 512 8193024 16002
/dev/md34s19 512 8193024 16002
/dev/md34s2 512 427714560 835380
/dev/md34s20 512 8193024 16002
/dev/md34s21 512 8193024 16002
/dev/md34s22 512 8193024 16002
/dev/md34s23 512 8193024 16002
/dev/md34s24 512 8193024 16002
/dev/md34s25 512 8193024 16002
/dev/md34s26 512 8193024 16002
/dev/md34s27 512 8193024 16002
/dev/md34s5 512 8193024 16002
/dev/md34s6 512 8193024 16002
/dev/md34s7 512 8193024 16002
/dev/md34s8 512 8193024 16002
/dev/md34s9 512 8193024 16002

View File

@ -0,0 +1,2 @@
$FreeBSD$
/dev/md34 512 5632 11

View File

@ -0,0 +1,2 @@
$FreeBSD$
/dev/md34 512 75264 147 1 8 17

View File

@ -0,0 +1,6 @@
$FreeBSD$
/dev/md34 512 5120 10
/dev/md34a 512 1529708544 2987712
/dev/md34b 512 539320320 1053360
/dev/md34c 512 36698296320 71676360
/dev/md34h 512 34629267456 67635288

View File

@ -0,0 +1,9 @@
$FreeBSD$
/dev/md34 512 5120 10
/dev/md34a 512 262967296 513608
/dev/md34b 512 1075994624 2101552
/dev/md34c 512 18108555264 35368272
/dev/md34d 512 11124240384 21727032
/dev/md34f 512 2149576704 4198392
/dev/md34g 512 2149576704 4198392
/dev/md34h 512 1343787008 2624584

View File

@ -0,0 +1,14 @@
$FreeBSD$
/dev/md34 512 8585262592 16768091
/dev/md34s1 512 3220406784 6289857
/dev/md34s1a 512 104857600 204800
/dev/md34s1b 512 524288000 1024000
/dev/md34s1c 512 3220406784 6289857
/dev/md34s1e 512 524288000 1024000
/dev/md34s1f 512 2066973184 4037057
/dev/md34s2 512 5364817920 10478160
/dev/md34s2c 512 5364817920 10478160
/dev/md34s3 512 8585256960 16768080
/dev/md34s3a 512 2097152000 4096000
/dev/md34s3c 512 8585256960 16768080
/dev/md34s3d 512 6488104960 12672080

View File

@ -0,0 +1,38 @@
#!/bin/sh
# $FreeBSD$
MD=34
TMP=/tmp/$$
set -e
r=0
(cd MdLoad && make) > /dev/null 2>&1
for f in Data/disk.*.xml
do
b=`basename $f`
mdconfig -d -u $MD > /dev/null 2>&1 || true
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
echo "PASSED: $b"
else
echo "FAILED: $b"
sed 's/^/ /' $TMP
r=2;
fi
else
diskinfo /dev/md${MD}* > Ref/`basename $f`
fi
done
mdconfig -d -u $MD > /dev/null 2>&1 || true
rm -f $TMP
exit $r