Get the test-suite into sync with the kernel again.
This commit is contained in:
parent
660887c9f9
commit
a99aa4c483
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=107950
@ -48,6 +48,8 @@
|
||||
#include <err.h>
|
||||
#include <bsdxml.h>
|
||||
|
||||
FILE *fsubs;
|
||||
|
||||
struct node {
|
||||
LIST_HEAD(, node) children;
|
||||
LIST_ENTRY(node) siblings;
|
||||
@ -266,6 +268,10 @@ refcmp(char *r1, char *r2)
|
||||
r->k1 = strdup(r1);
|
||||
r->k2 = strdup(r2);
|
||||
LIST_INSERT_HEAD(&refs, r, next);
|
||||
if (fsubs != NULL) {
|
||||
fprintf(fsubs, "s/%s/%s/g\n", r1, r2);
|
||||
fflush(fsubs);
|
||||
}
|
||||
return (0);
|
||||
}
|
||||
|
||||
@ -351,6 +357,7 @@ main(int argc, char **argv)
|
||||
struct mytree *t1, *t2;
|
||||
int i;
|
||||
|
||||
fsubs = fopen("_.subs", "w");
|
||||
setbuf(stdout, NULL);
|
||||
setbuf(stderr, NULL);
|
||||
if (argc != 3)
|
||||
|
@ -16,7 +16,7 @@ CFLAGS += -DKERNELSIM
|
||||
NOPIC = static
|
||||
NOPROFILE = bingo
|
||||
NOOBJ = youbet
|
||||
WARNS = 2
|
||||
WARNS = 0
|
||||
|
||||
.PATH: /sys/geom .. /sys/kern
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
SUBDIR+= T000 T001 T002 T003 T004 T005 T006 T007 T008 T009
|
||||
SUBDIR+= T010 T011 T012 T013 T014
|
||||
SUBDIR+= T011 T012 T013 T014
|
||||
|
||||
# SUBDIR+= T999
|
||||
|
||||
|
@ -206,8 +206,10 @@
|
||||
<name>ad0s3</name>
|
||||
<rank>3</rank>
|
||||
<config>
|
||||
<labeloffset>512</labeloffset>
|
||||
<frontstuff>8192</frontstuff>
|
||||
<labeloffset>512</labeloffset>
|
||||
<rawoffset>16768080</rawoffset>
|
||||
<mbroffset>8585256960</mbroffset>
|
||||
</config>
|
||||
<consumer id="0x80b9b80">
|
||||
<geom ref="0x80b8f80"/>
|
||||
@ -264,8 +266,10 @@
|
||||
<name>ad0s2</name>
|
||||
<rank>3</rank>
|
||||
<config>
|
||||
<labeloffset>512</labeloffset>
|
||||
<frontstuff>8192</frontstuff>
|
||||
<labeloffset>512</labeloffset>
|
||||
<rawoffset>6289920</rawoffset>
|
||||
<mbroffset>3220439040</mbroffset>
|
||||
</config>
|
||||
<consumer id="0x80b9a40">
|
||||
<geom ref="0x80b8c80"/>
|
||||
@ -294,8 +298,10 @@
|
||||
<name>ad0s1</name>
|
||||
<rank>3</rank>
|
||||
<config>
|
||||
<labeloffset>512</labeloffset>
|
||||
<frontstuff>8192</frontstuff>
|
||||
<labeloffset>512</labeloffset>
|
||||
<rawoffset>63</rawoffset>
|
||||
<mbroffset>32256</mbroffset>
|
||||
</config>
|
||||
<consumer id="0x80b9800">
|
||||
<geom ref="0x80b8700"/>
|
||||
|
@ -146,8 +146,10 @@
|
||||
<name>ad0s1</name>
|
||||
<rank>3</rank>
|
||||
<config>
|
||||
<labeloffset>512</labeloffset>
|
||||
<frontstuff>8192</frontstuff>
|
||||
<labeloffset>512</labeloffset>
|
||||
<rawoffset>63</rawoffset>
|
||||
<mbroffset>32256</mbroffset>
|
||||
</config>
|
||||
<consumer id="0x80b9780">
|
||||
<geom ref="0x80b8600"/>
|
||||
|
@ -56,8 +56,10 @@
|
||||
<name>ad0</name>
|
||||
<rank>2</rank>
|
||||
<config>
|
||||
<labeloffset>512</labeloffset>
|
||||
<frontstuff>8192</frontstuff>
|
||||
<labeloffset>512</labeloffset>
|
||||
<rawoffset>0</rawoffset>
|
||||
<mbroffset>0</mbroffset>
|
||||
</config>
|
||||
<consumer id="0x80b9640">
|
||||
<geom ref="0x80b8300"/>
|
||||
|
@ -156,8 +156,10 @@
|
||||
<name>da2</name>
|
||||
<rank>2</rank>
|
||||
<config>
|
||||
<labeloffset>64</labeloffset>
|
||||
<frontstuff>8192</frontstuff>
|
||||
<labeloffset>64</labeloffset>
|
||||
<rawoffset>0</rawoffset>
|
||||
<mbroffset>0</mbroffset>
|
||||
</config>
|
||||
<consumer id="0x80b9ac0">
|
||||
<geom ref="0x80b8d80"/>
|
||||
@ -214,8 +216,10 @@
|
||||
<name>da1</name>
|
||||
<rank>2</rank>
|
||||
<config>
|
||||
<labeloffset>64</labeloffset>
|
||||
<frontstuff>8192</frontstuff>
|
||||
<labeloffset>64</labeloffset>
|
||||
<rawoffset>0</rawoffset>
|
||||
<mbroffset>0</mbroffset>
|
||||
</config>
|
||||
<consumer id="0x80b98c0">
|
||||
<geom ref="0x80b8900"/>
|
||||
@ -300,8 +304,10 @@
|
||||
<name>da0</name>
|
||||
<rank>2</rank>
|
||||
<config>
|
||||
<labeloffset>64</labeloffset>
|
||||
<frontstuff>8192</frontstuff>
|
||||
<labeloffset>64</labeloffset>
|
||||
<rawoffset>0</rawoffset>
|
||||
<mbroffset>0</mbroffset>
|
||||
</config>
|
||||
<consumer id="0x80b9740">
|
||||
<geom ref="0x80b8500"/>
|
||||
|
@ -165,3 +165,4 @@ void sdumpf(char *file);
|
||||
#define THR_DOWN 2
|
||||
#define THR_EVENT 3
|
||||
|
||||
#define EJUSTRETURN (-2)
|
||||
|
Loading…
Reference in New Issue
Block a user