OpenGrok
Cross Reference: t_md.sh
xref
: /
src
/
tests
/
dev
/
md
/
t_md.sh
Home
|
History
|
Annotate
|
Download
|
only in
md
History log of
/src/tests/dev/md/t_md.sh
Revision
Date
Author
Comments
1.8
30-Nov-2022
martin
Unfortunately rump does not provide the same magic as MAKEDEV does
for native /dev and create an alias for disk devices w/o partition
latter pointing at the raw partition, so for rump based tests we
actually have to calculate the concrete device name.
Use an idiom suggested by kre for this which also works for ports that
have kern.rawpartition > 4.
1.7
14-May-2011
jmmv
Instead of doing 'atf_check ... sh -c foo', just do 'atf_check ... -x foo'.
1.6
04-Feb-2011
pooka
convert tests from oldstyle dd rif/rof to newstyle dd | rump.dd
1.5
03-Jan-2011
pooka
branches: 1.5.2;
use rawpart
1.4
12-Dec-2010
pooka
use rump.halt
1.3
30-Nov-2010
pooka
cleanup server after use
(XXX: need better way to reboot it)
1.2
30-Nov-2010
pooka
Get rid of the "sleep 1" by using rump_daemonize_begin/end().
Notably, md is a little tricky for this, since the ioctl that
configures the service also blocks in the kernel. Therefore, use
an additional pthread to probe when the service is fully configured
and the server can detach.
Also, rawpart love.
1.1
23-Nov-2010
pooka
Add simple test for md(4) which just stuffs junk into /dev/rmd0d
and checks the same data can be retrieved.
1.5.2.1
08-Feb-2011
bouyer
Sync with HEAD
Indexes created Wed Oct 22 13:09:56 GMT 2025