Explorar o código

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 %!s(int64=13) %!d(string=hai) anos
pai
achega
7bf5107347
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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
 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