On Thu, Oct 22, 2015 at 02:33:10PM -0400, Rick Farina wrote: > On 10/22/2015 02:11 PM, Seth Forshee wrote: > > On Thu, Oct 22, 2015 at 12:58:56PM -0400, Rick Farina wrote: > >> For automated testing, is there a way to test read the database to make > >> sure the key works and the db isn't corrupt? I read the docs but I don't > >> see anything like this. > > > > I always sanity check that using regdbdump from CRDA. > > Thanks. Unfortunately the format doesn't at all match db.txt, and > regdbdump exits 0 for every file I run it on. Do you think it might be > worth fixing regdbdump to exit 1 if the file parsed isn't a regdb, as > well as exit 1 on error? +Cc Luis Rodriguez, he maintains CRDA. Seth