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