diff options
Diffstat (limited to 'test/todo-002.sh')
-rwxr-xr-x | test/todo-002.sh | 10 |
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..a91d06d --- /dev/null +++ b/test/todo-002.sh @@ -0,0 +1,10 @@ +#!/bin/sh + +if [ "$1" = 'actual' ]; then + "$CALCURSE" --read-only -D "$DATA_DIR"/ -t3 +elif [ "$1" = 'expected' ]; then + echo 'to do:' + sed -n 's/^\[3\] \(.*\)/3. \1/p' "$DATA_DIR"/todo +else + ./run-test "$0" +fi |