aboutsummaryrefslogtreecommitdiffstats
path: root/test/todo-001.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/todo-001.sh')
-rwxr-xr-xtest/todo-001.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/todo-001.sh b/test/todo-001.sh
index f607b30..d1c7433 100755
--- a/test/todo-001.sh
+++ b/test/todo-001.sh
@@ -1,11 +1,11 @@
#!/bin/sh
if [ "$1" = 'actual' ]; then
- calcurse -D data/ -t | sort
+ "$CALCURSE" -D "$DATA_DIR"/ -t | sort
elif [ "$1" = 'expected' ]; then
(
echo 'to do:'
- sed '/^\[-/d; s/^\[\([0-9]\)\] \(.*\)/\1. \2/' data/todo
+ sed '/^\[-/d; s/^\[\([0-9]\)\] \(.*\)/\1. \2/' "$DATA_DIR"/todo
) | sort
else
./run-test "$0"