fix build on windows
Sponsored-by: Dartmouth College's Datalad project
This commit is contained in:
parent
d9124bb8ce
commit
898a677bce
2 changed files with 3 additions and 1 deletions
|
@ -55,7 +55,7 @@ testCp k option = TestCase cmd $ testCmd k cmdline
|
|||
testCpReflinkAuto :: TestCase
|
||||
#ifdef mingw32_HOST_OS
|
||||
-- Windows does not support reflink so don't even try to use the option.
|
||||
testCpReflinkAuto = TestCase k (Config k (BoolConfig False))
|
||||
testCpReflinkAuto = TestCase k (return $ Config k (BoolConfig False))
|
||||
#else
|
||||
testCpReflinkAuto = testCp k "--reflink=auto"
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue