1
0
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:
deadc0de6
2021-10-19 22:18:39 +02:00
parent f9c318679a
commit f4cff17f1b
110 changed files with 413 additions and 355 deletions

View File

@@ -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