mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-08 11:24:16 +00:00
add tests cleaning
This commit is contained in:
@@ -56,6 +56,12 @@ func_file=`mktemp`
|
||||
func_file2=`mktemp`
|
||||
func_file3=`mktemp`
|
||||
|
||||
clear_on_exit "${tmps}"
|
||||
clear_on_exit "${tmpd}"
|
||||
clear_on_exit "${func_file}"
|
||||
clear_on_exit "${func_file2}"
|
||||
clear_on_exit "${func_file3}"
|
||||
|
||||
# create the config file
|
||||
cfg="${tmps}/config.yaml"
|
||||
cfgext="${tmps}/ext.yaml"
|
||||
@@ -151,8 +157,5 @@ grep '^nope$' ${tmpd}/abc >/dev/null && exit 1
|
||||
set -e
|
||||
grep '^Falseadded$' ${tmpd}/abc >/dev/null
|
||||
|
||||
## CLEANING
|
||||
rm -rf ${tmps} ${tmpd} ${func_file} ${func_file2} ${func_file3}
|
||||
|
||||
echo "OK"
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user