supki / directory-layout

Making, fitting, printing directory layouts
http://supki.github.io/directory-layout
BSD 3-Clause "New" or "Revised" License
2 stars 0 forks source link

System.Directory.Layout.Interpreter.fit tests failed #8

Closed dmalikov closed 10 years ago

dmalikov commented 10 years ago
1) System.Directory.Layout.Interpreter.fit tests file owner user id
expected: Left (Bad owner user id at ‘/tmp/nix-build-haskell-directory-layout-ghc7.8.3-0.7.4-shared.drv-0/directory-layout-6135/foo’
expected:
  UserID 0
actual:
  UserID 1000
 :| [])
 but got: Left (Bad owner user id at ‘/tmp/nix-build-haskell-directory-layout-ghc7.8.3-0.7.4-shared.drv-0/directory-layout-6135/foo’
expected:
  UserID 0
actual:
  UserID 30001
 :| [])

2) System.Directory.Layout.Interpreter.fit tests file owner group id
expected: Left (Bad owner group id at ‘/tmp/nix-build-haskell-directory-layout-ghc7.8.3-0.7.4-shared.drv-0/directory-layout-6135/foo’
expected:
  GroupID 0
actual:
  GroupID 1000
 :| [])
 but got: Left (Bad owner group id at ‘/tmp/nix-build-haskell-directory-layout-ghc7.8.3-0.7.4-shared.drv-0/directory-layout-6135/foo’
expected:
  GroupID 0
actual:
  GroupID 30000
 :| [])

3) System.Directory.Layout.Interpreter.fit tests file owner group id
expected: Left (Bad owner group id at ‘/tmp/nix-build-haskell-directory-layout-ghc7.8.3-0.7.4-shared.drv-0/directory-layout-6135/foo’
expected:
  Groupname "root"
actual:
  Groupname "nixbld1"
 :| [])
 but got: Left (Bad owner group id at ‘/tmp/nix-build-haskell-directory-layout-ghc7.8.3-0.7.4-shared.drv-0/directory-layout-6135/foo’
expected:
  Groupname "root"
actual:
  Groupname "nixbld"
 :| [])

4) System.Directory.Layout, directory-layout project structure, has a regular file ‘Guardfile’
uncaught exception: IOException (./Guardfile: getSymbolicLinkStatus: does not exist (No such file or directory))
supki commented 10 years ago

Hey, can you check if 7070294 works for you?

dmalikov commented 10 years ago

Well, looks like it works now

Haddock coverage:
 100% (  3 /  3) in 'System.Directory.Layout.QQ'
  87% ( 33 / 38) in 'System.Directory.Layout.Internal'
 100% ( 10 / 10) in 'System.Directory.Layout.Interpreter'
 100% ( 33 / 33) in 'System.Directory.Layout'
Documentation created: dist/doc/html/directory-layout/index.html,
dist/doc/html/directory-layout/directory-layout.txt
Preprocessing test suite 'doctest' for directory-layout-0.7.4...
Preprocessing test suite 'spec' for directory-layout-0.7.4...
running tests
Running 2 test suites...
Test suite doctest: RUNNING...
Test suite doctest: PASS
Test suite logged to: dist/test/directory-layout-0.7.4-doctest.log
Test suite spec: RUNNING...
Test suite spec: PASS
Test suite logged to: dist/test/directory-layout-0.7.4-spec.log
2 of 2 test suites (2 of 2 test cases) passed.
installing
Installing library in
supki commented 10 years ago

Great!