Danek Duvall wrote:
> Again, "pkg verify" will do just that, checking hashes with -f.  We haven't
> forgotten to install the man pages along with everything else, have we?

:-)

> If Albert wants to perform such a test outside the pkg(5) framework, that's
> fine, but he'll need to be careful not to reimplement everything, and
> probably do the test based on a hardcoded set of data.

I've no intention of reimplementing everything, just a method to double 
check that the install has completed correctly and we have updated 
everything we should have. We'll be running verify -f anyway.

'pkg verify -f ' will compare the files on disk with the manifests on the 
system. It does not, as far as I can can tell, verify against the repository.

Like I say I'm not setting out to completely test the framework, rather to 
come up with a way to double check that a 'pkg install/image-upgrade' has 
done what we expect. Though thinking more about it running a pkg verify to 
ensure the system is consistent then comparing the 'pkg contents -m' 
locally and on the repository may be good enough.

Thanks,
~Al



-- 
Albert White - Patch System Test - Sun Ireland
[EMAIL PROTECTED]  http://blogs.sun.com/albertw
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to