webdav: When testing the WebDAV server, send a file with content. The empty file it was sending tickled bugs in some php WebDAV server.

This commit is contained in:
Joey Hess 2015-12-11 12:13:20 -04:00
parent 48bc7a9057
commit 0f126440ca
Failed to extract signature
3 changed files with 31 additions and 14 deletions

View file

@ -191,7 +191,7 @@ testDav url (Just (u, p)) = do
makeParentDirs
void $ mkColRecursive tmpDir
inLocation (tmpLocation "git-annex-test") $ do
putContentM (Nothing, L.empty)
putContentM (Nothing, L8.fromString "test")
delContentM
where
test a = liftIO $