On 8/1/17 9:58 PM, Eric Sandeen wrote: > xfs_metadump by default sanitizes the image so that all strings > longer than 5 chars are obfusccated, and all stale data in metadata > blocks (i.e. unused/unwritten data) is zeroed out. We didn't have > a test for this, though, so this does it. > > It patterns 256M of the scratch device, then uses djwong's > populate infrastructure to write all types of metadata, > metadumps & mdrestores it, then looks for either the leaked > pre-pattern or any leaked strings or filenames. > > The strings we look for are, unfortunately, a bit ad-hoc based on > what is currently used in the populate routines. > > Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxx> Sigh, debugging junk snuck into this one, hang on for v3, sorry. :( -- To unsubscribe from this list: send the line "unsubscribe fstests" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html