public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* dejagnu
@ 2000-04-26  7:18 Benjamin King
  2000-04-26  8:00 ` dejagnu DJ Delorie
  0 siblings, 1 reply; 14+ messages in thread
From: Benjamin King @ 2000-04-26  7:18 UTC (permalink / raw)
  To: cygwin

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 410 bytes --]

I cannot get dejagnu to work.  I have purchased and 
installed the 1.0 version, which includes a compiled version of 
Expect.
 
Expect appears to want to use DOS shell conventions instead of Bash shell 
conventions (most notably the path separator and intrinsic shell 
commands).
 
How can I get dejagnu (or Expect) to run under cygwin/the bash shell?
 
Sincerely
  Benjamin King
  LSI Logic

^ permalink raw reply	[flat|nested] 14+ messages in thread
* dejagnu
@ 2000-06-01  6:46 Stuart Yoder
  2000-06-01  7:23 ` dejagnu Chris Faylor
  0 siblings, 1 reply; 14+ messages in thread
From: Stuart Yoder @ 2000-06-01  6:46 UTC (permalink / raw)
  To: cygwin

I'm trying to get dejagnu working under the cygwin environment
(cygwin20.1b).  Whenever an .exp script uses 'exec' to run a
shell command (rm.exe or basename.exe for example) the command
is left 'running' after runtest complete.

I see this by running 'ps -ef' when runtest is complete.  Eventually
no new processes can be spawned and I have to kill the bash shell.
 
Any ideas?

Stuart
syoder@chicorysystems.com



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 14+ messages in thread
* Re: DejaGnu
@ 1999-04-02  7:18 Jonathan Pryor
  1999-04-02  8:50 ` DejaGnu John Fortin
  1999-04-30 18:32 ` DejaGnu Jonathan Pryor
  0 siblings, 2 replies; 14+ messages in thread
From: Jonathan Pryor @ 1999-04-02  7:18 UTC (permalink / raw)
  To: cygwin

To get `whoami' to work correctly, you need:

    /etc/passwd

Under NT, you can generate this with cygwin-supplied tools:

    mkpasswd -l > /etc/passwd

This doesn't appear to work under 95 (95 doesn't support the
Win32 Security APIs), so I'm not sure what to do about Win9x...
(I copied over the files from my NT box, but I'm not sure what
to do if NT isn't available.)

 - Jon

-----Original Message-----
From: Larry Hall <lhall@rfk.com>
To: N8TM@aol.com <N8TM@aol.com>; adam@ideogram.com <adam@ideogram.com>;
cygwin@sourceware.cygnus.com <cygwin@sourceware.cygnus.com>
Date: Friday, April 02, 1999 9:52 AM
Subject: Re: DejaGnu


>At 09:04 AM 4/2/99 EST, N8TM@aol.com wrote:
>>In a message dated 4/2/99 2:08:20 AM Pacific Standard Time,
adam@ideogram.com
>>writes:
>>
>>> bash-2.02$ whoami
>>>  whoami: cannot find username for UID 500
>>>  Can someone who has run DejaGnu on gcc give me some pointers?
>>As there is no whoami on cygwin, I simply edit that script to remove all
the
>>attempts to find a username, leaving only the fixed "unknown" assignment.
A
>>more general fix would be for the script to check whether whoami is
>>implemented before trying to invoke it.
>>
>
>Actually, I don't think the problem is that there is no "whoami" for Cygwin
>(I have one and I didn't build it myself!;-)).  I think Adam's problem is
>just a configuration one.  Actually, I forget the details of setting up
>whoami to work (even though I guess I did it at one point since it works
>fine for me!;-)) but I'm quite sure I remember it being discussed on the
list.
>One could always check the archives!;-)  In any case, as you pointed out,
>"fixing" whoami is not critical to solving Adam's current problem.
>
>
>Larry Hall                              lhall@rfk.com
>RFK Partners, Inc.                      (781) 239-1053
>8 Grove Street                          (781) 239-1655 - FAX
>Wellesley, MA  02482-7797               http://www.rfk.com



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 14+ messages in thread
* Re: DejaGnu
@ 1999-04-02  6:05 N8TM
  1999-04-02  6:50 ` DejaGnu Larry Hall
  1999-04-30 18:32 ` DejaGnu N8TM
  0 siblings, 2 replies; 14+ messages in thread
From: N8TM @ 1999-04-02  6:05 UTC (permalink / raw)
  To: adam, cygwin

In a message dated 4/2/99 2:08:20 AM Pacific Standard Time, adam@ideogram.com 
writes:

> bash-2.02$ whoami
>  whoami: cannot find username for UID 500
>  Can someone who has run DejaGnu on gcc give me some pointers?
As there is no whoami on cygwin, I simply edit that script to remove all the 
attempts to find a username, leaving only the fixed "unknown" assignment.  A 
more general fix would be for the script to check whether whoami is 
implemented before trying to invoke it.

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 14+ messages in thread
* DejaGnu
@ 1999-04-01 23:34 Adam Kao
  1999-04-30 18:32 ` DejaGnu Adam Kao
  0 siblings, 1 reply; 14+ messages in thread
From: Adam Kao @ 1999-04-01 23:34 UTC (permalink / raw)
  To: cygwin

I'm trying to run DejaGnu on gcc on my Windows NT box.  First it
complained about not being able to find init.tcl which I fixed by
renaming the src/tcl directory to src/tcl8.0.  Now when I type
runtest --tool gcc 
in the src/gcc/testsuite directory it does this:
bash-2.02$ runtest --tool gcc
/cygnus/CYGWIN~1/H-I586~1/bin/whoami.exe: cannot find username for UID 500
    while executing
"exec whoami"
    (file "/cygnus/CYGWIN~1/share/dejagnu/runtest.exp" line 524)
bash-2.02$ whoami
whoami: cannot find username for UID 500
Can someone who has run DejaGnu on gcc give me some pointers?

Thanks,
Adam

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2000-06-01  7:23 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-04-26  7:18 dejagnu Benjamin King
2000-04-26  8:00 ` dejagnu DJ Delorie
  -- strict thread matches above, loose matches on Subject: below --
2000-06-01  6:46 dejagnu Stuart Yoder
2000-06-01  7:23 ` dejagnu Chris Faylor
1999-04-02  7:18 DejaGnu Jonathan Pryor
1999-04-02  8:50 ` DejaGnu John Fortin
1999-04-30 18:32   ` DejaGnu John Fortin
1999-04-30 18:32 ` DejaGnu Jonathan Pryor
1999-04-02  6:05 DejaGnu N8TM
1999-04-02  6:50 ` DejaGnu Larry Hall
1999-04-30 18:32   ` DejaGnu Larry Hall
1999-04-30 18:32 ` DejaGnu N8TM
1999-04-01 23:34 DejaGnu Adam Kao
1999-04-30 18:32 ` DejaGnu Adam Kao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).