freebsd-skq/tools/regression/geom/Data/disk.kern.flp.xml
Poul-Henning Kamp 31304807c1 Add the GEOM regression test framework.
This is a set of userland shims in which GEOM can be run through simple
tests.

The simulation of kernel synchronization primitives is very primitive
and consequently some times tests will fail because of races.

Data/ contains a number of files in XML format which describe the
key sectors for a number of disk images

This is a very handy tool for people developing GEOM methods.  The
"simdisk" method can be told to read from a "real disk" and afterwards
dump the accessed sectors in XML format for further use.

I hope future method writes will see the benefit of this test
collection and add to it when they write methods for GEOM.

You will need ports/textproc/expat for the XML parser.

Sponsored by:   DARPA, NAI Labs.
2002-03-17 18:53:58 +00:00

52 lines
2.4 KiB
XML

<?xml version="1.0"?>
<DISKIMAGE>
<comment>
$FreeBSD$
A FreeBSD kern.flp image.
</comment>
<sectorsize>512</sectorsize>
<mediasize>0</mediasize>
<sector>
<offset>0</offset>
<hexdata>
eb1b9090161f666a005150065331c088f0506a1089e5e8c7008d6610cbfc31c9
8ec18ed98ed1bc007c89e6bf0007fec5f3a5beee7d80fa80722cb601e86700b9
0100bebe8db601807c04a57507e319f60480751483c610fec680fe0572e949e3
e1be8b7deb5231d289160009b610e83500bb00908b770a01debf00b0b900ac29
f1f3a429f930c0f3aae80300e98113fae464a80275fab0d1e664e464a80275fa
b0dfe660fbc3bb008c8b44088b4c0a0ee853ff732abe867de81c00be907de816
0030e4cd16c70672043412ea0000ffffbb0700b40ecd10ac84c075f4b401f9c3
52b408cd1388f55a72f580e13f74edfa668b460852660fb6d96631d266f7f388
eb88d54330d266f7f388d75a663dff030000fb774486c4c0c80208e8409188fe
28e08a660238e0720288e0bf0500c45e0450b402cd135b730a4f741c30e4cd13
93ebeb0fb6c30146087303ff460ad0e3005e052846027788c32ef6069908800f
8479ffbbaa5552b441cd135a0f826fff81fb55aa0f8564fff6c1010f845dff89
eeb442cd13c35265616400426f6f7400206572726f720d0a0080909090909090
9090909090909090909090909090909090909090909090909090909090900000
0000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000080000100a5ffffff0000000050c3000055aa
</hexdata>
</sector>
<sector>
<offset>512</offset>
<hexdata>
5745568200000000666431343430000000000000000000000000000000000000
00000000000000000002000012000000020000005000000024000000400b0000
00000000000000002c0101000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000057455682286903000020000000200000400b00000000000000020000
00080000400b0000000000000002000000080000400b00000000000000020000
0708060000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
</hexdata>
</sector>
</DISKIMAGE>