Some tests fail on GHC 7.4.2
Opened this issue · 0 comments
aristidb commented
I get the following test output:
$ ./dist/build/cabal-dev-test/cabal-dev-test
Basic invocation tests:
--help exists with success: [OK]
--version exists with success: [OK]
--numeric-version has parseable output: [OK]
exits with failure when no arguments are supplied: [OK]
short flag is passed through to cabal: [OK]
Sandboxed:
add-source stays sandboxed (no-space dir): [Failed]
ERROR: /home/aristid/.cabal/share/cabal-dev-0.9.1/admin/00-index.tar: copyFile: does not exist (No such file or directory)
add-source stays sandboxed (dir with spaces): [Failed]
ERROR: /home/aristid/.cabal/share/cabal-dev-0.9.1/admin/00-index.tar: copyFile: does not exist (No such file or directory)
Builds ok regardless of the state of the logs directory: [Failed]
ERROR: /home/aristid/.cabal/share/cabal-dev-0.9.1/admin/00-index.tar: copyFile: does not exist (No such file or directory)
Index tar files contain all contents: [Failed]
ERROR: /home/aristid/.cabal/share/cabal-dev-0.9.1/admin/00-index.tar: copyFile: does not exist (No such file or directory)
Test Cases Total
Passed 5 5
Failed 4 4
Total 9 9
These are my package versions (just the Haskell platform and some additional packages that were necessary to build cabal-dev and test suite):
$ ghc-pkg list
/nix/store/n5nsa9sfxqsign0h60sbm7g1q40v09jm-haskell-env-ghc-7.4.2/lib/package.conf.d
Cabal-1.14.0
GLUT-2.1.2.1
HTTP-4000.2.5
HUnit-1.2.5.1
MonadRandom-0.1.8
OpenGL-2.2.3.1
QuickCheck-2.5.1.1
ansi-terminal-0.6
ansi-wl-pprint-0.6.6
array-0.4.0.0
async-2.0.1.3
base-4.5.1.0
bin-package-db-0.0.0.0
binary-0.5.1.0
bytestring-0.9.2.1
cgi-3001.1.7.4
containers-0.4.2.1
deepseq-1.3.0.0
directory-1.1.0.2
extensible-exceptions-0.1.1.4
fgl-5.4.2.4
filepath-1.3.0.0
ghc-7.4.2
ghc-paths-0.1.0.9
ghc-prim-0.2.0.0
haddock-2.11.0
haskell-platform-2012.4.0.0
haskell-src-1.0.1.5
haskell2010-1.1.0.1
haskell98-2.0.0.1
hoopl-3.8.7.3
hostname-1.0
hpc-0.5.1.1
html-1.0.1.2
integer-gmp-0.4.0.0
mtl-2.1.2
network-2.3.1.0
old-locale-1.0.0.4
old-time-1.1.0.0
parallel-3.2.0.3
parsec-3.1.3
pretty-1.1.1.0
primitive-0.5.0.1
process-1.1.0.1
random-1.0.1.1
regex-base-0.93.2
regex-compat-0.95.1
regex-posix-0.95.2
rts-1.0
setenv-0.1.0
split-0.2.1.1
stm-2.4
syb-0.3.7
tar-0.4.0.1
template-haskell-2.7.0.0
test-framework-0.8
test-framework-hunit-0.3.0
text-0.11.2.3
time-1.4
transformers-0.3.0.0
unix-2.5.1.1
vector-0.10.0.1
xhtml-3000.2.1
xml-1.3.12
zlib-0.5.4.0