avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Courcoux <pe...@courcoux.biz>
Subject RE: Merlin build
Date Wed, 29 Oct 2003 20:02:58 GMT
On Wed, 2003-10-29 at 19:52, Alex Karasulu wrote:
> Peter,
> 
> Yeah the problem is that shell based macro expansion is not working when you
> do a simple 'echo $PATH' expression either: the echo takes it literally and
> returns it to you since it is not in an interpreted environment (a shell).
> You need to fork a shell and have it run the evaluation.  Also the user's
> shell must be determined so the user's /etc/passwd entry must be read to get
> the default shell.  Getting more involved than I wanted to ...
> 
> Even this might not be the shell being used but there is no other way to
> determine what stinking shell was running when the runtime was started.
> 
> If we don't pick the default shell, the environment variable may not be
> present.  Yeah this stuff wreaks pretty bad and is the pits.  That's why
> people stay clear of it.  I'll have an update for you as soon as I have it
> working properly and tested on a couple of platforms. 
> 
> Sorry about that,
> Alex

No problem. It was getting late when I hit this last evening. I'm glad I
didn't sit up trying to fix it ;-)

Peter

> 
> > > Meaning comment out line 52 where the test asserts a non-null for the
> > PATH
> > > variable.
> > 
> > I think the actual error is that getUnixVariable("$PAT") is returning
> > "$PAT" at line 51. I added some System.out.println 's.
> > 
> > Regards,
> > 
> > Peter
> > 
> > >
> > >
> > > > -----Original Message-----
> > > > From: Alex Karasulu [mailto:aok123@bellsouth.net]
> > > > Sent: Wednesday, October 29, 2003 12:19 PM
> > > > To: 'Avalon Developers List'
> > > > Subject: RE: Merlin build
> > > >
> > > > Interesting because the TestCase can't seem to find a PATH variable in
> > > > your
> > > > environment when it should.   For the time being try to comment it
> > out.  I
> > > > will try it on a linux box and get back to you shortly.
> > > >
> > > > Alex
> > > >
> > > > > -----Original Message-----
> > > > > From: Peter Courcoux [mailto:peter@courcoux.biz]
> > > > > Sent: Wednesday, October 29, 2003 12:10 PM
> > > > > To: Avalon Dev List
> > > > > Subject: Merlin build
> > > > >
> > > > > Hi, Steve, Alex,
> > > > >
> > > > > The Merlin cvs build I checked out clean last night failed one of
> > the
> > > > > tests.
> > > > >
> > > > > Test reports attached.
> > > > >
> > > > > I think all the environment details are in the reports.
> > > > >
> > > > > Regards,
> > > > >
> > > > > Peter
> > > > > --
> > > > > Peter Courcoux <peter@courcoux.biz>
> > > >
> > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
> > > > For additional commands, e-mail: dev-help@avalon.apache.org
> > >
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
> > > For additional commands, e-mail: dev-help@avalon.apache.org
> > --
> > Peter Courcoux <peter@courcoux.biz>
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
> > For additional commands, e-mail: dev-help@avalon.apache.org
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
> For additional commands, e-mail: dev-help@avalon.apache.org
-- 
Peter Courcoux <peter@courcoux.biz>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org


Mime
View raw message