Test: Simplify tw-1688.t

- bash_tap tests are executed in a temporary folder.  Any data written
  to the current directory will therefore be cleaned up without the
  need for manually dealing with cleanup.
- $TASKDATA is set to this directory as well, so all Taskwarrior data
  files are directly accessible.
This commit is contained in:
Wilhelm Schuermann 2015-09-11 17:22:00 +02:00
parent 2bdaa37e32
commit 791bd1b82a

View file

@ -12,9 +12,7 @@
task add one
task log two depends:1
JSON=$(mktemp /tmp/tw-1688.XXXXXXXXXX)
task /two/ export > $JSON
rm $TASKDATA/pending.data $TASKDATA/completed.data
task import $JSON
task /two/ export > JSON
rm pending.data completed.data
task import JSON