[PATCH 20/21] ktest: Add variable ${PWD}

From: Steven Rostedt
Date: Fri Oct 28 2011 - 07:20:51 EST


From: Steven Rostedt <srostedt@xxxxxxxxxx>

Adding the variable ${PWD} that equals `pwd` makes the config files
much simpler.

Signed-off-by: Steven Rostedt <rostedt@xxxxxxxxxxx>
---
tools/testing/ktest/ktest.pl | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/tools/testing/ktest/ktest.pl b/tools/testing/ktest/ktest.pl
index 652446d..9d9ee32 100755
--- a/tools/testing/ktest/ktest.pl
+++ b/tools/testing/ktest/ktest.pl
@@ -136,6 +136,9 @@ my %force_config;
# do not force reboots on config problems
my $no_reboot = 1;

+# default variables that can be used
+chomp ($variable{"PWD"} = `pwd`);
+
$config_help{"MACHINE"} = << "EOF"
The machine hostname that you will test.
EOF
--
1.7.6.3


Attachment: signature.asc
Description: This is a digitally signed message part