ktest: When creating new config, allow the use of ${THIS_DIR}
authorSteven Rostedt <srostedt@redhat.com>
Tue, 22 Nov 2011 01:39:33 +0000 (20:39 -0500)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 23 Nov 2011 20:55:41 +0000 (15:55 -0500)
commit0e7a22de25212cfcaa0ba2c957e4e60eaa70fb9d
tree8220e09d8ffe28897877c324d359d3135f35585a
parent600bbf0aa2229390ba1c4ca4c5666c593ff9ef56
ktest: When creating new config, allow the use of ${THIS_DIR}

Typing in a full path when you know that the path exists within
the directory your are running is tedious and unnecessary.

Allow the user to use ${PWD} if they want a dynamic path name
which will be the path that ktest.pl is executed from
or use ${THIS_DIR} which is a variable assigned `pwd` and
the the variable will exist within the config, allowing the user
to change it and affect all other paths using this variable as well

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