From cc869b0047904152ef809550759916c2e36b44b7 Mon Sep 17 00:00:00 2001 From: robduff Date: Tue, 7 Jul 2015 12:56:32 +0000 Subject: [PATCH] --- ...est_fails_when_run_through_powershell.mdwn | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 doc/bugs/git_annex_test_fails_when_run_through_powershell.mdwn diff --git a/doc/bugs/git_annex_test_fails_when_run_through_powershell.mdwn b/doc/bugs/git_annex_test_fails_when_run_through_powershell.mdwn new file mode 100644 index 0000000000..48291b7488 --- /dev/null +++ b/doc/bugs/git_annex_test_fails_when_run_through_powershell.mdwn @@ -0,0 +1,28 @@ +### Please describe the problem. + +When running "git annex test" in a Powershell window, two tests fail (listed in additional details). I am assuming it is because it is using powershell internal commands instead of msys utilities, at least in the case of the "mv" failure. Specifying "mv.exe" instead of just "mv" on Windows should work. + +### What steps will reproduce the problem? + +Run "git annex test" from the powershell prompt. Two tests fail. All tests pass when run through cmd. + +### What version of git-annex are you using? On what operating system? + +Windows 7 Enterprise SP1 +Powershell version 4.0 +git version 1.9.5.msysgit.1 +git annex I *think* is 5.20150617, but I don't know for sure. + +### Please provide any additional information below. + +[[!format sh """ +# If you can, paste a complete transcript of the problem occurring here. +# If the problem is with the git-annex assistant, paste in .git/annex/daemon.log + +addurl failed on file:///ws/wcs-project-new/.t/tmprepo5/myurl + +"mv": cannot move `C:\\Users\\duffrw\\LOCALS~1\\Temp\\importtest.0\\import1\\f' to `import1\\f12956.tmp' +git-annex: MoveFileEx "C:\\Users\\duffrw\\LOCALS~1\\Temp\\importtest.0\\import1\\f" "import1\\f": unsupported operation (The system cannot move the file to a different disk drive.) + +# End of transcript or log. +"""]]