History log of /src/tests/dev/cgd/t_cgd.sh |
Revision | | Date | Author | Comments |
1.14 |
| 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.13 |
| 10-Apr-2019 |
kre | Fix quoting (quotes really do not nest...) and remove a bunch of it that is harmless, but also pointless (in sh, quotes do not make strings, everything is a string, rather they hide characters which would have some other meaning unquoted (like spaces) - quotes are not needed around strings like "descr" so remove them...
Be more consistent with line wrap style, try to avoid wrapping in the middle of a (sh) word where possible. Avoid \ use when it is not needed.
Un-KNF (C style) - sh has no declarations, there is no need to leave blank lines at the head of a function to mark the end of the declarations.
This should be a NFC - but the quoting really was broken before, just was probably harmless breakage.
|
1.12 |
| 10-Apr-2019 |
kre | PR bin/53999 from rudolf (eq.cz)
Fix cgdconfig to report verification failures with gpt and mbr verification methods (and not treat them as silent hard errors). This also causes the cgd to be unconfigured when one of those verification methods fails.
Add ATF tests to check that bad verification is reported, and does not leave the cgd configured.
Patches from the PR applied.
|
1.11 |
| 19-Feb-2013 |
joerg | branches: 1.11.30; Check for RUMP programs before using them.
|
1.10 |
| 19-May-2011 |
riastradh | branches: 1.10.4; 1.10.10; Expand tests for unaligned writes to cgd. No more xfail.
PR kern/44515 PR kern/44964
|
1.9 |
| 14-May-2011 |
jmmv | Instead of doing 'atf_check ... sh -c foo', just do 'atf_check ... -x foo'.
|
1.8 |
| 22-Mar-2011 |
jmmv | Force cleanup parts to exit with a success status. Failures in cleanup should not be allowed by atf-run (although they currently are ignored).
|
1.7 |
| 04-Feb-2011 |
pooka | test case for PR kern/44515
|
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; make this work when rawpart != d
|
1.4 |
| 30-Dec-2010 |
pooka | Substitute a surgical rump_server configuration for rump_allserver now that it's possible. With warm fs cache, the startup time of the former is 0.01s and the latter 0.1s. With cold caches it's 0.2s vs 2s.
|
1.3 |
| 15-Dec-2010 |
pooka | Use proper cleanup.
XXX: the atf sh "compiler" should check for errors.
|
1.2 |
| 14-Dec-2010 |
pooka | Retire the old C helper in h_img2cgd since we can now write everything with a shellscript in terms of rump.cgdconfig and dd.
|
1.1 |
| 11-Nov-2010 |
pooka | Add rudimentary cgd tests. The tests use cgd to transform a plaintext into into an encrypted image and back into plaintext by doing rump I/O on /dev/cgd. There is one test to check that giving the same password for both encryption and decryption produces the same plaintext and another to check that giving a different passwords does not produce the same plaintext.
This could be fairly easily extended to test all feature of cgd (hint hint). For example, now cgd.conf is included in cvs, but the only reason for that is that without further hacking cgdconfig uses /dev/random quality random to generate the salt for a pkcsetcetc_kdf2 cgconfig -g, and making an automated test block on the entropy pool is just not good form. Details are everything.
|
1.5.2.1 |
| 08-Feb-2011 |
bouyer | Sync with HEAD
|
1.10.10.1 |
| 25-Feb-2013 |
tls | resync with head
|
1.10.4.1 |
| 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
1.11.30.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|