Tests: Use TASKDATA env variable in Bash tests

- Now that bash_tap.sh no longer uses subshells, TASKDATA can and
  and should be used.  This fixes a bug introduced with the switch
  to "eval" where having TASKDATA set while running tests would
  potentially lead to problems.
This commit is contained in:
Wilhelm Schuermann 2015-08-30 18:34:29 +02:00
parent 28d872dd31
commit 6e22a1f279

View file

@ -19,8 +19,9 @@ function setup_taskrc {
fi fi
done done
echo 'data.location=.' > taskrc export TASKDATA=.
echo 'confirmation=off' >> taskrc
echo 'confirmation=off' > taskrc
echo 'dateformat=m/d/Y' >> taskrc echo 'dateformat=m/d/Y' >> taskrc
echo 'color.debug=rgb025' >> taskrc echo 'color.debug=rgb025' >> taskrc
echo 'color.header=rgb025' >> taskrc echo 'color.header=rgb025' >> taskrc