Warning: Can't synchronize with the repository (Unsupported version control system "darcs": Can't find an appropriate component, maybe the corresponding plugin was not enabled? ). Look in the Trac log for more information.

Ticket #5 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

testroot directory missing in the sdist

Reported by: pwan Owned by:
Priority: major Milestone:
Component: Version:
Keywords: Cc:

Description (last modified by pwan) (diff)

In the 0.3.2 release, the testroot directory is missing in the sdist target, which causes most of the unit tests to fail...

[francis@francis-laptop augeas-0.3.2]$ make test
runghc Setup configure
[...]
runghc Setup build
Preprocessing library augeas-0.3.2...
Preprocessing executables for augeas-0.3.2...
Building augeas-0.3.2...
Registering augeas-0.3.2...
runghc Setup.hs test
### Failure in: 2
testGoodDefVar (1)
expected: AugRet 1
but got: AugRet 0
### Failure in: 3
testReplaceDefVar
expected: AugRet 1
but got: AugRet 0
### Failure in: 4
testNullDefVar (1)
expected: AugRet 1
but got: AugRet 0
### Failure in: 5
testGoodDefVar (1)
expected: AugRet 12
but got: AugRet 0
### Failure in: 9
Partial path returns none
expected: Right Nothing
but got: Left (AugMatch 0)
### Failure in: 10
Partial path returns none
expected: Right Nothing
but got: Left (AugMatch 0)
### Failure in: 12
Should have gotten localhost
expected: Right (Just "localhost")
but got: Left (AugMatch 0)
### Failure in: 13
Get should return a negative on multiple matches
expected: Left (AugMatch (-1))
but got: Left (AugMatch 0)
### Failure in: 18
testInsertMultiMatch error
expected: AugErrCode {unAugErrCode = 5}
but got: AugErrCode {unAugErrCode = 4}
### Failure in: 26
match count good label
expected: 1
but got: 0
### Failure in: 27
match count good label
expected: 9
but got: 0
### Error in:   29
/home/francis/tmp/augeas-0.3.2/testroot/etc/hosts.augnew: openFile: does
not exist (No such file or directory)
### Error in:   30
/home/francis/tmp/augeas-0.3.2/testroot/etc/hosts:
getSymbolicLinkStatus: does not exist (No such file or directory)
### Failure in: 31
check aug_print
expected: False
but got: True
Cases: 36  Tried: 36  Errors: 2  Failures: 12

Change History

Changed 4 years ago by pwan

  • description modified (diff)

Changed 4 years ago by pwan

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.