diff options
Diffstat (limited to 'share/dtf/tpl/run.tpl')
-rw-r--r-- | share/dtf/tpl/run.tpl | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/share/dtf/tpl/run.tpl b/share/dtf/tpl/run.tpl index 663e302..0495675 100644 --- a/share/dtf/tpl/run.tpl +++ b/share/dtf/tpl/run.tpl @@ -1,8 +1,14 @@ -#! /bin/bash -x +#! /bin/sh # vi: ft=sh test -z "$outputdir" && outputdir="$PWD/DTF_RESULT" +$__DTF_TOP_TEST && { + exec 3>&1 4>&2 + rm -rf "$outputdir" +} + + . "$top_srcdir/library" __dtf_rc=0 |