Skip to content

Commit

Permalink
ktest: Add variable ${PWD}
Browse files Browse the repository at this point in the history
Adding the variable ${PWD} that equals `pwd` makes the config files
much simpler.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
  • Loading branch information
Steven Rostedt authored and Steven Rostedt committed Oct 22, 2011
1 parent 9f7424c commit 7bf5107
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/testing/ktest/ktest.pl
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,9 @@
# 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
Expand Down

0 comments on commit 7bf5107

Please sign in to comment.