diff options
author | Steven Rostedt <srostedt@redhat.com> | 2011-10-22 09:07:03 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2011-10-22 09:07:03 -0400 |
commit | 7bf5107347d94bb056c5a0cf78f09e499c3d8f48 (patch) | |
tree | 90779830a8515abed065f0a0ce53605854f7f791 /tools | |
parent | 9f7424cc86adf55c3fccaa1160b6cf5c6cfc4c02 (diff) |
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>
Diffstat (limited to 'tools')
-rwxr-xr-x | 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 652446dd9e7..9d9ee321a3d 100755 --- a/tools/testing/ktest/ktest.pl +++ b/tools/testing/ktest/ktest.pl | |||
@@ -136,6 +136,9 @@ my %force_config; | |||
136 | # do not force reboots on config problems | 136 | # do not force reboots on config problems |
137 | my $no_reboot = 1; | 137 | my $no_reboot = 1; |
138 | 138 | ||
139 | # default variables that can be used | ||
140 | chomp ($variable{"PWD"} = `pwd`); | ||
141 | |||
139 | $config_help{"MACHINE"} = << "EOF" | 142 | $config_help{"MACHINE"} = << "EOF" |
140 | The machine hostname that you will test. | 143 | The machine hostname that you will test. |
141 | EOF | 144 | EOF |