CVS log for src/tests/dev/cgd/t_cgd.sh
Up to [cvs.NetBSD.org] / src / tests / dev / cgd
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed Nov 30 17:49:09 2022 UTC (2 years ago) by martin
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
netbsd-10-base,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
netbsd-10,
HEAD
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -2
lines
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.
Revision 1.11.30.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:10:00 2019 UTC (5 years, 5 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11: +59 -22
lines
Sync with HEAD
Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed Apr 10 06:13:21 2019 UTC (5 years, 7 months ago) by kre
Branches: MAIN
CVS tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
phil-wifi-20191119,
phil-wifi-20190609,
netbsd-9-base,
netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-9,
is-mlppp-base,
is-mlppp,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +29 -35
lines
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 - view: text, markup, annotated - select for diffs
Wed Apr 10 06:09:39 2019 UTC (5 years, 7 months ago) by kre
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +44 -1
lines
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.10.4.1: download - view: text, markup, annotated - select for diffs
Thu May 22 11:42:17 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10: +4 -1
lines
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")
Revision 1.10.10.1: download - view: text, markup, annotated - select for diffs
Mon Feb 25 00:30:20 2013 UTC (11 years, 9 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10: +4 -1
lines
resync with head
Revision 1.11: download - view: text, markup, annotated - select for diffs
Tue Feb 19 21:08:24 2013 UTC (11 years, 9 months ago) by joerg
Branches: MAIN
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-3-RELEASE,
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
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +4 -1
lines
Check for RUMP programs before using them.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu May 19 20:37:50 2011 UTC (13 years, 6 months ago) by riastradh
Branches: MAIN
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
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +31 -9
lines
Expand tests for unaligned writes to cgd. No more xfail.
PR kern/44515
PR kern/44964
Revision 1.9: download - view: text, markup, annotated - select for diffs
Sat May 14 17:42:28 2011 UTC (13 years, 6 months ago) by jmmv
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +8 -8
lines
Instead of doing 'atf_check ... sh -c foo', just do 'atf_check ... -x foo'.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Mar 22 16:16:30 2011 UTC (13 years, 8 months ago) by jmmv
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +4 -4
lines
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.5.2.1: download - view: text, markup, annotated - select for diffs
Tue Feb 8 16:20:08 2011 UTC (13 years, 9 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5: +37 -5
lines
Sync with HEAD
Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Feb 4 19:58:10 2011 UTC (13 years, 10 months ago) by pooka
Branches: MAIN
CVS tags: bouyer-quota2-nbase,
bouyer-quota2-base
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +30 -1
lines
test case for PR kern/44515
Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri Feb 4 19:44:00 2011 UTC (13 years, 10 months ago) by pooka
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +8 -5
lines
convert tests from oldstyle dd rif/rof to newstyle dd | rump.dd
Revision 1.5: download - view: text, markup, annotated - select for diffs
Mon Jan 3 09:37:42 2011 UTC (13 years, 11 months ago) by pooka
Branches: MAIN
Branch point for: bouyer-quota2
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +7 -6
lines
make this work when rawpart != d
Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu Dec 30 16:58:07 2010 UTC (13 years, 11 months ago) by pooka
Branches: MAIN
CVS tags: matt-mips64-premerge-20101231
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +6 -3
lines
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 - view: text, markup, annotated - select for diffs
Wed Dec 15 19:14:37 2010 UTC (13 years, 11 months ago) by pooka
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +9 -3
lines
Use proper cleanup.
XXX: the atf sh "compiler" should check for errors.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Dec 14 17:48:31 2010 UTC (13 years, 11 months ago) by pooka
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +30 -12
lines
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 - view: text, markup, annotated - select for diffs
Thu Nov 11 22:38:47 2010 UTC (14 years ago) by pooka
Branches: MAIN
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.
CVSweb <webmaster@jp.NetBSD.org>