ktest: Parse off the directory name in useconfig for failures
authorSteven Rostedt <srostedt@redhat.com>
Tue, 9 Nov 2010 17:21:32 +0000 (12:21 -0500)
committerSteven Rostedt <rostedt@goodmis.org>
Thu, 18 Nov 2010 16:23:12 +0000 (11:23 -0500)
commitcccae1a62a81dc8e32bf787024fdcf7ef71f1285
tree749d366760852398e58bf634c176efcd6a78dfee
parent9be2e6b590b5d9cb6d6e38b6362a552bbcb118e0
ktest: Parse off the directory name in useconfig for failures

When we store failures, we create a directory that has the build_type
in it. For useconfig, it also contains the name path of the config
file it uses. This unfortunately gets its own directory on failure.
Parse off the directory name when creating the directory to store
the failures.

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