On Thu, Jun 01, 2017 at 09:58:38AM -0700, Simon J. Gerraty wrote:
> One option would be to store a sha256 hash of the result.
> If the image generated by the test hashes to the correct value - you
> pass.

That should be preferred.  Storing binary blobs in VCS is bad practice.

> Of course if the test fails, you are completely in the dark as to
> how/why.

Not really: you checkout previous version (which produces correct hash)
and store generated image for later inspection and diffing.

> Is storing img-1x1-512-mbr.vmdk.gz any more palatable?

This is barely acceptable, but only if image was zerofied/sparsed prior
to compression.  Also, the image should be of the minimal (sufficient)
working size.

./danfe
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to