relocate gpg test framework temp dir to outside repo
The gitAnnexTmpOtherDir cleanup made it be deleted too early sometimes, and so the test suite failed. Also there was a report of a similar failure which likely had a similar cause and hopwfully this fixes that too.
This commit is contained in:
parent
f76c4a0973
commit
f5f059e288
2 changed files with 9 additions and 9 deletions
|
@ -347,8 +347,8 @@ keyBlock public ls = unlines
|
|||
|
||||
#ifndef mingw32_HOST_OS
|
||||
{- Runs an action using gpg in a test harness, in which gpg does
|
||||
- not use ~/.gpg/, but sets up the test key in the passed directory
|
||||
- and uses it. -}
|
||||
- not use ~/.gpg/, but sets up the test key in a subdirectory of
|
||||
- the passed directory and uses it. -}
|
||||
testHarness :: FilePath -> GpgCmd -> IO a -> IO a
|
||||
testHarness tmpdir cmd a = bracket setup cleanup (const a)
|
||||
where
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue