summaryrefslogtreecommitdiff
path: root/fs/squashfs
diff options
context:
space:
mode:
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>2013-01-31 15:12:20 (GMT)
committerSteven Rostedt <rostedt@goodmis.org>2013-01-31 15:24:53 (GMT)
commit04262be3db53d2b77ec09fa3e4d18313b6b9dcf9 (patch)
tree641aaad32d3961a8d2f381afb7f6ad41704f4713 /fs/squashfs
parent35275685bf6123529e67c1dc91b8c05e479124e8 (diff)
downloadlinux-04262be3db53d2b77ec09fa3e4d18313b6b9dcf9.tar.xz
ktest: Allow a test option to use its default option
Options are allowed to use other options, for example: LOG_FILE = ${OUTPUT_DIR}/${MACHINE}.log where the option LOG_FILE used the options OUTPUT_DIR and MACHINE. But if a test option were to use a default option, it will not get substituted: OUTPUT_DIR = ${THIS_DIR}/${MACHINE} TEST_START OUTPUT_DIR = ${OUTPUT_DIR}/t1 For the above test, OUTPUT_DIR will stay literally "${OUTPUT_DIR}/t1" and not be converted to "${THIS_DIR}/${MACHINE}/t1". When the test runs, it will pass the ${OUTPUT_DIR} to the shell, which would probaly interpret it as "", and the output directory will end up as "/t1". Change the code where if a test option has its own option name in its defined field, and a default option exists, then substitute the default option in its place. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'fs/squashfs')
0 files changed, 0 insertions, 0 deletions