Browse Source

ktest: Add variable ${PWD}

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

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Steven Rostedt 13 years ago
parent
commit
7bf5107347
1 changed files with 3 additions and 0 deletions
  1. 3 0
      tools/testing/ktest/ktest.pl

+ 3 - 0
tools/testing/ktest/ktest.pl

@@ -136,6 +136,9 @@ my %force_config;
 # do not force reboots on config problems
 # do not force reboots on config problems
 my $no_reboot = 1;
 my $no_reboot = 1;
 
 
+# default variables that can be used
+chomp ($variable{"PWD"} = `pwd`);
+
 $config_help{"MACHINE"} = << "EOF"
 $config_help{"MACHINE"} = << "EOF"
  The machine hostname that you will test.
  The machine hostname that you will test.
 EOF
 EOF