I created bug 11803 for this.

Tom

Shawn Walker wrote:
Tom Mueller (plain-text) wrote:
While running the unit test cases for the gate on an OpenSolaris 2009.06 system recently, the system image, with meta data in /var/pkg was updated to the new meta data format, such that my pkg(5) tools in /usr/bin could no longer operate on the image. I'm guessing that somewhere in the unit test suite, there is a pkg(1) command executed without a -R option. I reproduced this on a VMware image just to make sure.

Actually, my guess at the moment is that our "check that the pkg client being executed is up to date" logic is to blame. But it could be the -R thing too...

Is this a known problem? I looked through the list of open bugs but didn't find one for this. I haven't started to look for what test is actually doing this; I thought I would ask first if someone knows where this is.

Yes, but I don't know if we have a bug filed or not.

Is it correct to expect that the unit tests would never operate on the system image?

At present, no. But they should at least operate on them using su_wrap=True to prevent modifications :/ There are a few unit tests that rely on being able to use -R / explicitly for some tests.

Cheers,

<<attachment: Tom_Mueller.vcf>>

_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to