On Feb 11, 2008 8:03 PM, Tom Mueller <[EMAIL PROTECTED]> wrote:
> Shawn,
> I found that the tests have to be run as root, because they try to
> change the user/group of files, and this can only be done as root.
I assume I can do "pfexec shell" and then run "make test" then.
> Also, there are three tests that are missing a "-S $REPO_URL" in the
> pkgsend command, so they fail if that is not fixed.
Joyous.
Well, I fixed those few places I found that problem.
I'm getting this at the moment, even when run under a "pfexec shell":
Redirecting all repository logging to stdout
kill: 1787: no such process
Redirecting all repository logging to stdout
PASS 0: Stop server, start again.
Traceback (most recent call last):
File "/usr/bin/pkg", line 851, in ?
ret = main_func()
File "/usr/bin/pkg", line 784, in main_func
ret = image_create(img, pargs)
File "/usr/bin/pkg", line 754, in image_create
img.retrieve_catalogs()
File "/usr/lib/python2.4/vendor-packages/pkg/client/image.py", line
543, in retrieve_catalogs
raise RuntimeError, (failed, total, succeeded)
RuntimeError: ([({'origin': 'http://localhost:8000', 'prefix': 'test',
'mirrors': None}, <HTTPError at 137555756 whose fp = <addinfourl at
137555532 whose fp = <socket._fileobject object at 0x832fc34>>>)], 1,
0)
*** case 1: expected exit status: 0, saw 99.
It looks like it can't connect to the depot server or something like that.
As far as I can tell, make test is supposed to start one for the tests?
The api-test completes; it's the cli-test, and the following ones that
are barfing.
I am running this out of my hg checkout directory.
It suspciously looks like make test expects an ON tree too.
Any other ideas?
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