summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2014-12-30 15:26:34 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2014-12-30 15:26:34 -0400
commit0170ba556b042a250d52286c63e379a84e3ce2f9 (patch)
tree0dd25508c479584e73ad346ba1f06c5b15bfc343
parentf8d28a9a88d97529228c179cd44e6fee4333e1d8 (diff)
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.
-rwxr-xr-xstandalone/windows/build.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/standalone/windows/build.sh b/standalone/windows/build.sh
index f8ff3a874..ef3d5d6f4 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