summaryrefslogtreecommitdiffstats
path: root/test/todo-002.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/todo-002.sh')
-rwxr-xr-xtest/todo-002.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/todo-002.sh b/test/todo-002.sh
new file mode 100755
index 0000000..c2718a9
--- /dev/null
+++ b/test/todo-002.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+if [ "$1" = 'actual' ]; then
+ calcurse -D data/ -t3
+elif [ "$1" = 'expected' ]; then
+ echo 'to do:'
+ sed -n 's/^\[3\] \(.*\)/3. \1/p' data/todo
+else
+ ./run-test "$0"
+fi