Up to [cvs.NetBSD.org] / src / tests / dev / cgd
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: MAIN
Revision 1.13 / (download) - annotate - [select for diffs], Wed Apr 10 06:13:21 2019 UTC (19 months, 3 weeks ago) by kre
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, is-mlppp-base, is-mlppp, HEAD
Changes since 1.12: +29 -35 lines
Diff to previous 1.12 (colored)
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.
Revision 1.12 / (download) - annotate - [select for diffs], Wed Apr 10 06:09:39 2019 UTC (19 months, 3 weeks ago) by kre
Changes since 1.11: +44 -1 lines
Diff to previous 1.11 (colored)
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.
Revision 1.11 / (download) - annotate - [select for diffs], Tue Feb 19 21:08:24 2013 UTC (7 years, 9 months ago) by joerg
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, agc-symver-base, agc-symver
Branch point for: phil-wifi
Changes since 1.10: +4 -1 lines
Diff to previous 1.10 (colored)
Check for RUMP programs before using them.
Revision 1.10 / (download) - annotate - [select for diffs], Thu May 19 20:37:50 2011 UTC (9 years, 6 months ago) by riastradh
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, cherry-xenmp-base, cherry-xenmp
Branch point for: yamt-pagecache, tls-maxphys
Changes since 1.9: +31 -9 lines
Diff to previous 1.9 (colored)
Expand tests for unaligned writes to cgd. No more xfail. PR kern/44515 PR kern/44964
Revision 1.9 / (download) - annotate - [select for diffs], Sat May 14 17:42:28 2011 UTC (9 years, 6 months ago) by jmmv
Changes since 1.8: +8 -8 lines
Diff to previous 1.8 (colored)
Instead of doing 'atf_check ... sh -c foo', just do 'atf_check ... -x foo'.
Revision 1.8 / (download) - annotate - [select for diffs], Tue Mar 22 16:16:30 2011 UTC (9 years, 8 months ago) by jmmv
Changes since 1.7: +4 -4 lines
Diff to previous 1.7 (colored)
Force cleanup parts to exit with a success status. Failures in cleanup should not be allowed by atf-run (although they currently are ignored).
Revision 1.7 / (download) - annotate - [select for diffs], Fri Feb 4 19:58:10 2011 UTC (9 years, 10 months ago) by pooka
CVS Tags: bouyer-quota2-nbase, bouyer-quota2-base
Changes since 1.6: +30 -1 lines
Diff to previous 1.6 (colored)
test case for PR kern/44515
Revision 1.6 / (download) - annotate - [select for diffs], Fri Feb 4 19:44:00 2011 UTC (9 years, 10 months ago) by pooka
Changes since 1.5: +8 -5 lines
Diff to previous 1.5 (colored)
convert tests from oldstyle dd rif/rof to newstyle dd | rump.dd
Revision 1.5 / (download) - annotate - [select for diffs], Mon Jan 3 09:37:42 2011 UTC (9 years, 11 months ago) by pooka
Branch point for: bouyer-quota2
Changes since 1.4: +7 -6 lines
Diff to previous 1.4 (colored)
make this work when rawpart != d
Revision 1.4 / (download) - annotate - [select for diffs], Thu Dec 30 16:58:07 2010 UTC (9 years, 11 months ago) by pooka
CVS Tags: matt-mips64-premerge-20101231
Changes since 1.3: +6 -3 lines
Diff to previous 1.3 (colored)
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.
Revision 1.3 / (download) - annotate - [select for diffs], Wed Dec 15 19:14:37 2010 UTC (9 years, 11 months ago) by pooka
Changes since 1.2: +9 -3 lines
Diff to previous 1.2 (colored)
Use proper cleanup. XXX: the atf sh "compiler" should check for errors.
Revision 1.2 / (download) - annotate - [select for diffs], Tue Dec 14 17:48:31 2010 UTC (9 years, 11 months ago) by pooka
Changes since 1.1: +30 -12 lines
Diff to previous 1.1 (colored)
Retire the old C helper in h_img2cgd since we can now write everything with a shellscript in terms of rump.cgdconfig and dd.
Revision 1.1 / (download) - annotate - [select for diffs], Thu Nov 11 22:38:47 2010 UTC (10 years ago) by 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.
This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.