ktest: Add variable ${PWD}
authorSteven Rostedt <srostedt@redhat.com>
Sat, 22 Oct 2011 13:07:03 +0000 (09:07 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Sat, 22 Oct 2011 13:07:03 +0000 (09:07 -0400)
Adding the variable ${PWD} that equals `pwd` makes the config files
much simpler.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
tools/testing/ktest/ktest.pl

index 652446d..9d9ee32 100755 (executable)
@@ -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