From 8428e3666182e70976a238c6b23245b401ea0649 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 30 Dec 2014 15:26:34 -0400 Subject: [PATCH] try running test in a different directory I have a theory that something is deleting the .t directory or it doesn't get made in the location tried. The last test showed: add: ("recordedInodeCache",Key {keyName = "e394a389d787383843decc5d3d99b6d184ffa5fddeec23b911f9ee7fc8b9ea77", keyBackendName = "SHA256E", keySize = Just 20, keyMtime = Nothing, keyChunkSize = Nothing, keyChunkNum = Nothing},"start") ("recordedInodeCache",Key {keyName = "e394a389d787383843decc5d3d99b6d184ffa5fddeec23b911f9ee7fc8b9ea77", keyBackendName = "SHA256E", keySize = Just 20, keyMtime = Nothing, keyChunkSize = Nothing, keyChunkNum = Nothing},"end") ("writeInodeCache",Key {keyName = "e394a389d787383843decc5d3d99b6d184ffa5fddeec23b911f9ee7fc8b9ea77", keyBackendName = "SHA256E", keySize = Just 20, keyMtime = Nothing, keyChunkSize = Nothing, keyChunkNum = Nothing},"start") git-annex: c:\jenkins\workspace\msysgit-git-annex-assistant-test\git-annex\.t\repo\.git\annex\objects\6cd\e82\SHA256E-s20--e394a389d787383843decc5d3d99b6d184ffa5fddeec23b911f9ee7fc8b9ea77\SHA256E-s20--e394a389d787383843decc5d3d99b6d184ffa5fddeec23b911f9ee7fc8b9ea77.cache: openFile: does not exist (No such file or directory) FAIL add failed So writeInodeCache is what's failing, and it seems to fail to write the file despite having made the parent directory. --- standalone/windows/build.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/standalone/windows/build.sh b/standalone/windows/build.sh index f8ff3a8740..ef3d5d6f47 100755 --- a/standalone/windows/build.sh +++ b/standalone/windows/build.sh @@ -74,7 +74,9 @@ Build/BuildVersion > dist/build-version # Test git-annex # (doesn't currently work well on autobuilder, reason unknown) -rm -rf .t PATH="$(pwd)/dist/build/git-annex/:$PATH" export PATH -withcyg dist/build/git-annex/git-annex.exe test || true +mkdir -d c:/WINDOWS/Temp/git-annex-test/ +cd c:/WINDOWS/Temp/git-annex-test/ +withcyg git-annex.exe test || true +rm -rf .t