Fix test 5558 for Mac OS X 10.5
The attached patch fixes
=====> 5558(threaded2) 207 of 3086 [0, 0, 0]
cd ./concurrent/should_run && '/Users/thorkilnaur/tn/GHCGitRepository/ghc-working/bindisttest/install dir/bin/ghc' -fforce-recomp -dcore-lint -dcmm-lint -dno-debug-output -no-user-package-conf -rtsopts -fno-ghci-history -o 5558 5558.hs -O -threaded -eventlog >5558.comp.stderr 2>&1
...
cd ./concurrent/should_run && for i in `seq 1 100`; do ./5558 +RTS -N2 -ls -RTS </dev/null >5558.run.stdout 2>5558.run.stderr || break; done
/bin/sh: seq: command not found
*** framework failure for 5558(threaded2) do_test exception :
Traceback (most recent call last):
File "/Users/thorkilnaur/tn/GHCGitRepository/ghc-working/testsuite/driver/testlib.py", line 684, in do_test
result = apply(func, [name,way] + args)
...
IOError: [Errno 2] No such file or directory: './concurrent/should_run/5558.run.stderr'
on
$ uname -a
Darwin thorkil-naurs-intel-mac-mini.local 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386
$
Validated on Mac OS X 10.5. The sequence expression {1..100} works on Linux, Cygwin and FreeBSD.
Best regards Thorkil
Trac metadata
Trac field | Value |
---|---|
Version | 7.3 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Test Suite |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |