Turns out [info script] returns a different value when used inside a sub-interpreter. I didn't catch this before because I only ran the tests after adding that code from within the same directory as the file.

I've committed a fix in r26223.

On Jun 15, 2007, at 9:19 AM, Glen Whitney wrote:

I can see the line of code in src/port1.0/tests/portutil.tcl which is failing:


source [file dirname [info script]]/../portutil.tcl


at line 73, but it's the same as a line of code earlier in the file (line 9) which ran fine, and I don't see that the current directory changed before hitting this line.  Also, since I didn't touch portutil.tcl, I don't think my changes have caused this failure.  On the other hand, I of course don't want to check in anything when "make test" is not working.   Any suggestions?


-- 
Kevin Ballard
http://kevin.sb.org
eridius@macports.org
http://www.tildesoft.com