diff options
author | Pavel Raiskup <praiskup@redhat.com> | 2015-11-16 14:32:06 +0100 |
---|---|---|
committer | Pavel Raiskup <praiskup@redhat.com> | 2015-11-16 14:32:06 +0100 |
commit | 3fb6314f7841250ae291606467d759943b484e70 (patch) | |
tree | f4c5789fb4e08ea212028b5c4fdfc56b2a6dac7e | |
parent | 66a46dbc688d6d48b03dbbc92c4eeece1d5b5547 (diff) | |
download | dtf-3fb6314f7841250ae291606467d759943b484e70.tar.gz dtf-3fb6314f7841250ae291606467d759943b484e70.tar.xz dtf-3fb6314f7841250ae291606467d759943b484e70.zip |
lib: properly go to subdir in DTF_RESULTS
ROOT testname is not the same as $__DTF_TOP_TEST for run files
within subdirectory.
* share/dtf/lib/default: Check for $testname = ROOT rather than
for $__DTF_TOP_TEST.
-rw-r--r-- | share/dtf/lib/default | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/dtf/lib/default b/share/dtf/lib/default index 3d9bb9e..3f0d50f 100644 --- a/share/dtf/lib/default +++ b/share/dtf/lib/default @@ -28,7 +28,7 @@ __dtf_internal_fail () __dtf_run_testcase () { resultdir="$outputdir/$testname" - $__DTF_TOP_TEST && resultdir="$outputdir" + test "$testname" = ROOT && resultdir="$outputdir" stdout="$resultdir/stdout" stderr="$resultdir/stderr" |