From 6e22a1f2798d74d8d15d6db35791f60bee46a297 Mon Sep 17 00:00:00 2001 From: Wilhelm Schuermann Date: Sun, 30 Aug 2015 18:34:29 +0200 Subject: [PATCH] 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. --- test/bash_tap_tw.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/bash_tap_tw.sh b/test/bash_tap_tw.sh index 8b290769d..28b5ff5b2 100644 --- a/test/bash_tap_tw.sh +++ b/test/bash_tap_tw.sh @@ -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