mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
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:
parent
28d872dd31
commit
6e22a1f279
1 changed files with 3 additions and 2 deletions
|
@ -19,8 +19,9 @@ function setup_taskrc {
|
|||
fi
|
||||
done
|
||||
|
||||
echo 'data.location=.' > taskrc
|
||||
echo 'confirmation=off' >> taskrc
|
||||
export TASKDATA=.
|
||||
|
||||
echo 'confirmation=off' > taskrc
|
||||
echo 'dateformat=m/d/Y' >> taskrc
|
||||
echo 'color.debug=rgb025' >> taskrc
|
||||
echo 'color.header=rgb025' >> taskrc
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue