From 0ad8daec68f61a9d7391217c358a1730ecca7ca3 Mon Sep 17 00:00:00 2001 From: Johan Holmberg Date: Thu, 14 Apr 2016 20:10:04 +0200 Subject: [PATCH] update HTML User Guide --- doc/cmdtest.html | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/doc/cmdtest.html b/doc/cmdtest.html index 014b1f5..2c486fa 100644 --- a/doc/cmdtest.html +++ b/doc/cmdtest.html @@ -497,7 +497,7 @@ end ...

The list of such helper functions includes: -create_file, touch_file, import_file and ignore_file. +create_file, touch_file, import_file , import_directory and ignore_file. Beside these methods the test can of course also contain arbitrary Ruby-code.

@@ -807,6 +807,12 @@ The src path is evaluated relative to the curr when cmdtest was called. The tgt is evaluated relative to the current directory inside the "work directory" at the time of the call. +
import_directory(src, tgt)
+
Copy a directory tree from outside of the "work directory" to inside. +The src path is evaluated relative to the current directory +when cmdtest was called. The tgt is evaluated relative to +the current directory inside the "work directory" at the time +of the call. It is an error if tgt already exists.
prepend_local_path(dir)
Prepend the given directory to the PATH so commands executed via cmd are looked up using the modified PATH. The argument dir is evaluated @@ -859,7 +865,7 @@ time of the call.