fix build on windows

Sponsored-by: Dartmouth College's Datalad project
This commit is contained in:
Joey Hess 2021-07-01 12:51:31 -04:00
parent d9124bb8ce
commit 898a677bce
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
2 changed files with 3 additions and 1 deletions

View file

@ -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