snoyberg / tar-conduit

Conduit based tar extraction mechanism
MIT License
8 stars 9 forks source link

Test failure with sources from Hackage #28

Closed qrilka closed 5 years ago

qrilka commented 5 years ago

Using sources from stack unpack tar-conduit and LTS-13 gives tests failure:

tar/untar
  content
tar/untar/tar
  structure FAILED [1]
untar
  create-intermediate
ustar
  minimal
  long file name <255
GNUtar
  LongLink - a file with long file name
  LongLink - multiple files with long file names
  Large User Id
  All Large Numeric Values
  Negative Values
  Negative Size
  tar/untar Property
    +++ OK, passed 100 tests.
unsupported headers
  associated payload is discarded

Failures:

  tests/Spec.hs:55:17: 
  1) tar/untar/tar structure
       uncaught exception: IOException of type NoSuchThing
       ./sample: getSymbolicLinkStatus: does not exist (No such file or directory)

  To rerun use: --match "/tar/untar/tar/structure/"

Randomized with seed 674476877

Finished in 6.3607 seconds
13 examples, 1 failure

tar-conduit-0.3.2: Test suite tests failed
Test suite failure for package tar-conduit-0.3.2
    tests:  exited with: ExitFailure 1
Logs printed to console

I couldn't reproduce it using the current master of this repo though

lehins commented 5 years ago

@qrilka Thanks for reporting it. Simple error of not included files in the extra-source-files, that's why you couldn't replicate it with master, even though lts-13 has the same version that was on master.