From: Ian Jackson Date: Fri, 29 Jul 2011 14:31:05 +0000 (+0100) Subject: doc: Fix spec for copyup/copydown to describe actual behaviours X-Git-Tag: debian/2.0.0~26 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=autopkgtest.git;a=commitdiff_plain;h=b6babea6d477c2fa3c40c6a41ccde34971a5c908 doc: Fix spec for copyup/copydown to describe actual behaviours --- diff --git a/doc/README.virtualisation-server b/doc/README.virtualisation-server index 7d40ef5..c077e5a 100644 --- a/doc/README.virtualisation-server +++ b/doc/README.virtualisation-server @@ -162,9 +162,9 @@ Protocol response ok - Executes the command (args separated by commas, everything - url-encoded). stdin, stdout, stderr are files on the testbed - (must be files, not pipes). + Executes the command (args separated by commas, everything including + filenames and env var names and values url-encoded). stdin, stdout, + stderr are files on the testbed (must be files, not pipes). Currently defined keyword arguments: @@ -198,11 +198,21 @@ Protocol that facility is available. * Commands - copydown - copyup + copydown + copyup - Like cp -dR --preserve=mode,timestamps exce[t across the testbed - boundary. + Either + + 1. Both paths end in `/', in which case the source must be an + existing directory. The destination directory is replaced with a + copy as if made by cp -dR --preserve=mode,timestamps except + across the testbed boundary. + + 2. Neither path ends in `/', in which case the source must be an + existing file. The data from the source file is written to the + destination as if via shell redirection; except that if for + copydown of an executable file, `chmod +x' is run on the + destination file after the copy. * Command diff --git a/virt-subproc/VirtSubproc.py b/lib/VirtSubproc.py similarity index 100% rename from virt-subproc/VirtSubproc.py rename to lib/VirtSubproc.py