From 9cb547ca23e1bb7312f202e3ed90277ff5cc3dd6 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 15 Feb 2017 16:00:33 +0300 Subject: Minor change in cp testscript builtin spec --- doc/testscript.cli | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/testscript.cli b/doc/testscript.cli index 7dc5467..61319a3 100644 --- a/doc/testscript.cli +++ b/doc/testscript.cli @@ -2243,8 +2243,9 @@ determination of whether \i{src-path} is a file or directory is done by querying the filesystem entry type. In this case \c{cp} fails if a filesystem entry for any of the \i{src-path} -files/directories does not exist or is of a wrong type or if the \i{dst-dir} -filesystem entry does not exist or is not a directory. +files/directories does not exist or if the \i{dst-dir} filesystem entry does +not exist or is not a directory. For a \i{src-path} directory \c{cp} also fails +if the \i{dst-dir/src-name} filesystem entry already exists. Newly created files and directories that are inside the script working directory are automatically registered for cleanup. -- cgit v1.1