1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-12 20:25:17 +00:00

update tests

This commit is contained in:
deadc0de6
2019-02-07 22:11:27 +01:00
parent f9be717ff3
commit f5b9b15326
27 changed files with 69 additions and 69 deletions

View File

@@ -46,20 +46,20 @@ echo -e "\e[96m\e[1m==> RUNNING $(basename $BASH_SOURCE) <==\e[0m"
################################################################
# the dotfile source
tmps=`mktemp -d`
tmps=`mktemp -d --suffix='-dotdrop-tests'`
mkdir -p ${tmps}/dotfiles
# the dotfile destination
tmpd=`mktemp -d`
tmpd=`mktemp -d --suffix='-dotdrop-tests'`
#echo "dotfile destination: ${tmpd}"
# create a shell script
export TESTENV="this is my global testenv"
scr=`mktemp`
scr=`mktemp --suffix='-dotdrop-tests'`
chmod +x ${scr}
echo -e "#!/bin/bash\necho $TESTENV\n" >> ${scr}
export TESTENV2="this is my profile testenv"
scr2=`mktemp`
scr2=`mktemp --suffix='-dotdrop-tests'`
chmod +x ${scr2}
echo -e "#!/bin/bash\necho $TESTENV2\n" >> ${scr2}