diff options
3 files changed, 35 insertions, 2 deletions
@@ -1361,10 +1361,11 @@ test_addurl :: Assertion test_addurl = intmpclonerepo $ do -- file:// only; this test suite should not hit the network f <- absPath "myurl" + let url = replace "\\" "/" ("file:///" ++ dropDrive f) writeFile f "foo" - git_annex "addurl" ["file://" ++ f] @? "addurl failed on file:// url" + git_annex "addurl" [url] @? ("addurl failed on " ++ url) let dest = "addurlurldest" - git_annex "addurl" ["--file", dest, "file://" ++ f] @? "addurl failed on file:// url with --file" + git_annex "addurl" ["--file", dest, url] @? ("addurl failed on " ++ url ++ " with --file") doesFileExist dest @? (dest ++ " missing after addurl --file") -- This is equivilant to running git-annex, but it's all run in-process diff --git a/doc/bugs/git-annex_on_NAS_eats_all_memory/comment_4_3b226c7ce28f1caee2d5e568d91c96bc._comment b/doc/bugs/git-annex_on_NAS_eats_all_memory/comment_4_3b226c7ce28f1caee2d5e568d91c96bc._comment new file mode 100644 index 000000000..dc9c1ce1b --- /dev/null +++ b/doc/bugs/git-annex_on_NAS_eats_all_memory/comment_4_3b226c7ce28f1caee2d5e568d91c96bc._comment @@ -0,0 +1,24 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 4""" + date="2015-02-11T16:48:58Z" + content=""" +You seem to have catted /proc/pid/cmdline, so the parameters are all +mashed together without the separating `\0` being visible. Not the best way +to examine a process. Use `ps`. + +It may be that the --library-path parameter is too long and is being +truncated. That's what appears to be the case when it ends at +"/shimmed/git-annex-shell/git-annex-shell-c". + +However, Linux's command-line length limits are much much longer than this +command line, so it shouldn't be truncated. And, I don't know why it would +only be truncated when the script is called by ssh. + +I suggest that you edit `git-annex.linux/git-annex-shell` and +`git-annex.linux/runshell` and `git-annex.linux/bin/git-annex-shell` ; make +the first line of each shell script be "#!/bin/sh -x". + +Then you can try running it again via ssh and on the NAS, and paste the +debug output. +"""]] diff --git a/doc/tips/Synology_NAS_and_git_annex/comment_6_954fc1b423208928fafdeb8cdac47c50._comment b/doc/tips/Synology_NAS_and_git_annex/comment_6_954fc1b423208928fafdeb8cdac47c50._comment new file mode 100644 index 000000000..b9d037bd1 --- /dev/null +++ b/doc/tips/Synology_NAS_and_git_annex/comment_6_954fc1b423208928fafdeb8cdac47c50._comment @@ -0,0 +1,8 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 6""" + date="2015-02-11T17:05:15Z" + content=""" +There's a bug report for the memory use hang now: +[[bugs/git-annex_on_NAS_eats_all_memory]] +"""]] |