#3106: hundred failures of release candidate ghc-6.10.1.20090314 in testsuite
------------------------+---------------------------------------------------
 Reporter:  maeder      |          Owner:        
     Type:  bug         |         Status:  new   
 Priority:  normal      |      Milestone:        
Component:  Test Suite  |        Version:  6.10.1
 Severity:  normal      |     Resolution:        
 Keywords:              |       Testcase:        
       Os:  Solaris     |   Architecture:  x86   
------------------------+---------------------------------------------------
Comment (by thorkilnaur):

 Replying to [comment:4 kgardas]:
 > ...
 > It's probably all about where your shell reports not found application.
 If to stderr, it's all right (and bash probably does this), but if to
 stdout then the code in mk/boilerplate.mk is broken. My guess: MacOS X is
 using bash as /bin/sh and FreeBSD is using ksh as /bin/sh. Right?

 I am not sure whether /bin/sh is ksh on FreeBSD, but there is certainly a
 difference between bash and sh in reporting commands not found:
 {{{
 [...@tn12 ~/tn/test/GHC/release/GHC-6.10.2-rc1/work]$ uname -a
 FreeBSD tn12.thorkilnaur.dk 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12
 10:40:27 UTC 2007
 [email protected]:/usr/obj/usr/src/sys/GENERIC  i386
 [...@tn12 ~/tn/test/GHC/release/GHC-6.10.2-rc1/work]$ bash
 [...@tn12 ~/tn/test/GHC/release/GHC-6.10.2-rc1/work]$ cygpath 1>bash.out
 2>bash.err
 [...@tn12 ~/tn/test/GHC/release/GHC-6.10.2-rc1/work]$ cat bash.out
 [...@tn12 ~/tn/test/GHC/release/GHC-6.10.2-rc1/work]$ cat bash.err
 bash: cygpath: command not found
 [...@tn12 ~/tn/test/GHC/release/GHC-6.10.2-rc1/work]$ sh
 $ cygpath 1>sh.out 2>sh.err
 cygpath: not found
 $ cat sh.out
 cat: sh.out: No such file or directory
 $ cat sh.err
 cat: sh.err: No such file or directory
 $
 }}}
 So it seems that sh on FreeBSD uses neither stdout nor stderr.
 Interesting.

 Best regards
 Thorkil

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3106#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to