On Feb 12, 2008 1:55 AM, Dan Price <[EMAIL PROTECTED]> wrote: > On Mon 11 Feb 2008 at 10:29PM, Shawn Walker wrote: > > > If go to src/ and type make install, it creates a proto area and and > > > SVR4 pkg SUNWipkg. I wonder if the tests depend on proto being there. > > > > > > When I run make test I see a bunch of FAILED ASSERT > > > ASS 1: pkg status should fail in an empty image > > > PASS 2: Send empty package [EMAIL PROTECTED], install and uninstall. > > > *** case 3: expected exit status: 0, saw 1. > > > *** FAILED ASSERT: Send package [EMAIL PROTECTED], containing a directory > > > and a > > > file, install, search, and uninstall. > > > *** SUB-ASSERT: pkg status -a, install foo, verify should succeed > > > > > > However running it as root (i.e. sudo make test) yields better results. > > > > Yes, after I figured out that I needed to do a "make install" first > > before I could run make test, it all came together. > > > > I'm not quite used to the proto are approach yet. > > > > Also, as you mentioned, the results were far better when run as the > > privileged user (pfexec shell in my case) than when run as my own > > user. > > > > Some tests still fail, but it looks like "known issues." > > I'll add the "make sure it's root" issue to my list of things to > do to the replacement test harness. > > Sorry I've not made much progress on that since a week ago, I had to > deal with a pressing matter for a customer, and was sick on and off.
That's ok. The main thing is that I can test my changes now :) Cheers, -- Shawn Walker, Software and Systems Analyst http://binarycrusader.blogspot.com/ "To err is human -- and to blame it on a computer is even more so." - Robert Orben _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
