From 8d749ae0d952a08646f0c2df171c8071d3c59679 Mon Sep 17 00:00:00 2001 From: Johan Holmberg Date: Sun, 19 Apr 2009 16:42:35 +0000 Subject: [PATCH] document new method 'prepend_local_path' --- doc/cmdtest.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/cmdtest.txt b/doc/cmdtest.txt index 1409c14..d55e6e9 100644 --- a/doc/cmdtest.txt +++ b/doc/cmdtest.txt @@ -371,6 +371,12 @@ Helper functions the current directory inside the "work directory" at the time of the call. +``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 + relative to the current directory in effect at the time of the call + (i.e. typically the "work directory" during the test). + ``prepend_path(dir)`` Prepend the given directory to the ``PATH`` so commands executed via ``cmd`` are looked up using the modified ``PATH``. A typical use is to add the directory